Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
263,800
void (int number) { if ( number > yylength() ) zzScanError(ZZ_PUSHBACK_2BIG); zzMarkedPos -= number; }
yypushback
263,801
void () { String charsetMessage = " Default charset: " + Charset.defaultCharset(); assertEquals("Cyrillic folder was unescaped incorrectly." + charsetMessage, "папка/file.txt", VcsFileUtil.unescapeGitPath("\\320\\277\\320\\260\\320\\277\\320\\272\\320\\260/file.txt")); assertEquals("Cyrillic folder with file name were ...
unescape_cyrillic
263,802
void (Change... changes) { MockChangeList changeList = myChangeLists.get(LocalChangeList.getDefaultName()); for (Change change : changes) { changeList.add(change); } }
addChanges
263,803
void () { throw new UnsupportedOperationException(); }
scheduleUpdate
263,804
void (@NotNull Runnable afterUpdate, @NotNull InvokeAfterUpdateMode mode, String title, ModalityState state) { throw new UnsupportedOperationException(); }
invokeAfterUpdate
263,805
boolean () { return true; }
areChangeListsEnabled
263,806
int () { return getChangeLists().size(); }
getChangeListsNumber
263,807
List<LocalChangeList> () { return new ArrayList<>(myChangeLists.values()); }
getChangeLists
263,808
List<File> () { throw new UnsupportedOperationException(); }
getAffectedPaths
263,809
List<VirtualFile> () { throw new UnsupportedOperationException(); }
getAffectedFiles
263,810
boolean (@NotNull VirtualFile file) { throw new UnsupportedOperationException(); }
isFileAffected
263,811
Collection<Change> () { Collection<Change> changes = new ArrayList<>(); for (MockChangeList list : myChangeLists.values()) { changes.addAll(list.getChanges()); } return changes; }
getAllChanges
263,812
LocalChangeList (String name) { throw new UnsupportedOperationException(); }
findChangeList
263,813
LocalChangeList (@Nullable String id) { throw new UnsupportedOperationException(); }
getChangeList
263,814
LocalChangeList () { return myActiveChangeList; }
getDefaultChangeList
263,815
LocalChangeList (@NotNull Change change) { throw new UnsupportedOperationException(); }
getChangeList
263,816
List<LocalChangeList> (@NotNull Change change) { throw new UnsupportedOperationException(); }
getChangeLists
263,817
List<LocalChangeList> (@NotNull VirtualFile file) { throw new UnsupportedOperationException(); }
getChangeLists
263,818
String (Change[] changes) { throw new UnsupportedOperationException(); }
getChangeListNameIfOnlyOne
263,819
void (@NotNull LocalChangeList list) { scheduleAutomaticEmptyChangeListDeletion(list, false); }
scheduleAutomaticEmptyChangeListDeletion
263,820
void (@NotNull LocalChangeList list, boolean silently) { throw new UnsupportedOperationException(); }
scheduleAutomaticEmptyChangeListDeletion
263,821
Change (@NotNull VirtualFile file) { return getChange(VcsUtil.getFilePath(file)); }
getChange
263,822
LocalChangeList (@NotNull VirtualFile file) { throw new UnsupportedOperationException(); }
getChangeList
263,823
Change (FilePath file) { for (Change change : getAllChanges()) { ContentRevision before = change.getBeforeRevision(); ContentRevision after = change.getAfterRevision(); if (after != null && after.getFile().equals(file) || before != null && before.getFile().equals(file)) { return change; } } return null; }
getChange
263,824
boolean (VirtualFile file) { throw new UnsupportedOperationException(); }
isUnversioned
263,825
List<FilePath> () { throw new UnsupportedOperationException(); }
getUnversionedFilesPaths
263,826
FileStatus (@NotNull FilePath file) { throw new UnsupportedOperationException(); }
getStatus
263,827
FileStatus (@NotNull VirtualFile file) { throw new UnsupportedOperationException(); }
getStatus
263,828
Collection<Change> (@NotNull VirtualFile dir) { return getChangesIn(VcsUtil.getFilePath(dir)); }
getChangesIn
263,829
Collection<Change> (@NotNull FilePath path) { List<Change> changes = new ArrayList<>(); for (Change change : getAllChanges()) { ContentRevision before = change.getBeforeRevision(); ContentRevision after = change.getAfterRevision(); if (before != null && before.getFile().isUnder(path, false) || after != null && after.ge...
getChangesIn
263,830
ThreeState (@NotNull VirtualFile vf) { throw new UnsupportedOperationException(); }
haveChangesUnder
263,831
void (@NotNull ChangeListListener listener, @NotNull Disposable disposable) { throw new UnsupportedOperationException(); }
addChangeListListener
263,832
void (@NotNull ChangeListListener listener) { throw new UnsupportedOperationException(); }
addChangeListListener
263,833
void (@NotNull ChangeListListener listener) { throw new UnsupportedOperationException(); }
removeChangeListListener
263,834
void (@NotNull CommitExecutor executor) { throw new UnsupportedOperationException(); }
registerCommitExecutor
263,835
void (@NotNull LocalChangeList changeList, @NotNull List<? extends Change> changes) { throw new UnsupportedOperationException(); }
commitChanges
263,836
void (@NotNull List<? extends FilePath> paths) { throw new UnsupportedOperationException(); }
reopenFiles
263,837
List<CommitExecutor> () { throw new UnsupportedOperationException(); }
getRegisteredExecutors
263,838
void (@NotNull LocalChangeList list, @NotNull List<? extends VirtualFile> unversionedFiles) { throw new UnsupportedOperationException(); }
addUnversionedFiles
263,839
void (@NotNull String path) { throw new UnsupportedOperationException(); }
addDirectoryToIgnoreImplicitly
263,840
void (IgnoredFileBean @NotNull ... ignoredFiles) { throw new UnsupportedOperationException(); }
setFilesToIgnore
263,841
boolean (@NotNull VirtualFile file) { throw new UnsupportedOperationException(); }
isIgnoredFile
263,842
boolean (@NotNull FilePath file) { throw new UnsupportedOperationException(); }
isIgnoredFile
263,843
List<FilePath> () { throw new UnsupportedOperationException(); }
getIgnoredFilePaths
263,844
String (@NotNull VirtualFile file) { throw new UnsupportedOperationException(); }
getSwitchedBranch
263,845
String () { throw new UnsupportedOperationException(); }
getDefaultListName
263,846
void (@NotNull String reason) { }
freeze
263,847
void () { }
unfreeze
263,848
void () { throw new UnsupportedOperationException(); }
waitForUpdate
263,849
String () { throw new UnsupportedOperationException(); }
isFreezed
263,850
boolean (@Nullable String modalTitle) { throw new UnsupportedOperationException(); }
isFreezedWithNotification
263,851
List<VirtualFile> () { throw new UnsupportedOperationException("Not implemented"); }
getModifiedWithoutEditing
263,852
LocalChangeList (@NotNull String name, @Nullable String comment) { MockChangeList changeList = new MockChangeList(name); myChangeLists.put(name, changeList); return changeList; }
addChangeList
263,853
void (@NotNull String name) { throw new UnsupportedOperationException(); }
setDefaultChangeList
263,854
void (@NotNull LocalChangeList list) { myActiveChangeList = list; }
setDefaultChangeList
263,855
void (@NotNull LocalChangeList list, boolean automatic) { throw new UnsupportedOperationException(); }
setDefaultChangeList
263,856
void (@NotNull String name) { throw new UnsupportedOperationException(); }
removeChangeList
263,857
void (@NotNull LocalChangeList list) { myChangeLists.remove(list.getName()); if (myActiveChangeList.equals(list)) { myActiveChangeList = myDefaultChangeList; } }
removeChangeList
263,858
void (@NotNull LocalChangeList list, Change @NotNull ... changes) { }
moveChangesTo
263,859
void (@NotNull LocalChangeList list, @NotNull List<@NotNull Change> changes) { }
moveChangesTo
263,860
boolean (@NotNull String name, boolean value) { throw new UnsupportedOperationException(); }
setReadOnly
263,861
boolean (@NotNull String fromName, @NotNull String toName) { throw new UnsupportedOperationException(); }
editName
263,862
String (@NotNull String fromName, String newComment) { throw new UnsupportedOperationException(); }
editComment
263,863
boolean (@NotNull String name, @Nullable ChangeListData newData) { throw new UnsupportedOperationException(); }
editChangeListData
263,864
boolean () { throw new UnsupportedOperationException(); }
isInUpdate
263,865
Collection<LocalChangeList> (@NotNull Collection<? extends Change> changes) { throw new UnsupportedOperationException(); }
getAffectedLists
263,866
LocalChangeList (@NotNull String name, @Nullable String comment, @Nullable ChangeListData data) { return addChangeList(name, comment); }
addChangeList
263,867
void () { throw new UnsupportedOperationException(); }
blockModalNotifications
263,868
void () { throw new UnsupportedOperationException(); }
unblockModalNotifications
263,869
String () { return null; }
getContent
263,870
FilePath () { return myPath; }
getFile
263,871
VcsRevisionNumber () { return myRevisionNumber; }
getRevisionNumber
263,872
String () { return myPath.getName() + ":" + myRevisionNumber; }
toString
263,873
void (Change change) { myChanges.add(change); }
add
263,874
Collection<Change> () { return myChanges; }
getChanges
263,875
String () { return myName; }
getName
263,876
String () { throw new UnsupportedOperationException(); }
getComment
263,877
void (String comment) { throw new UnsupportedOperationException(); }
setComment
263,878
boolean () { throw new UnsupportedOperationException(); }
isDefault
263,879
boolean () { throw new UnsupportedOperationException(); }
isReadOnly
263,880
void (boolean isReadOnly) { throw new UnsupportedOperationException(); }
setReadOnly
263,881
Object () { throw new UnsupportedOperationException(); }
getData
263,882
LocalChangeList () { throw new UnsupportedOperationException(); }
copy
263,883
void (@Nullable FilePath newcomer) { myDirtyFiles.add(newcomer); myContentRoots.add(myVcsManager.getVcsRootFor(newcomer.getVirtualFile())); }
addDirtyFile
263,884
void (@Nullable FilePath newcomer) { myDirtyDirs.add(newcomer); myContentRoots.add(myVcsManager.getVcsRootFor(newcomer.getVirtualFile())); }
addDirtyDirRecursively
263,885
Collection<VirtualFile> () { return myContentRoots; }
getAffectedContentRoots
263,886
Project () { return myProject; }
getProject
263,887
AbstractVcs () { return myVcs; }
getVcs
263,888
Set<FilePath> () { return myDirtyFiles; }
getDirtyFiles
263,889
Set<FilePath> () { return myDirtyFiles; }
getDirtyFilesNoExpand
263,890
Set<FilePath> () { return myDirtyDirs; }
getRecursivelyDirtyDirectories
263,891
void (Processor<? super FilePath> iterator) { throw new UnsupportedOperationException(); }
iterate
263,892
void (Processor<? super VirtualFile> vf) { throw new UnsupportedOperationException(); }
iterateExistingInsideScope
263,893
boolean () { return myDirtyFiles.isEmpty(); }
isEmpty
263,894
boolean (FilePath path) { if (myDirtyFiles.contains(path)) return true; for (FilePath parent : myDirtyDirs) { if (FileUtil.startsWith(path.getPath(), parent.getPath())) return true; } return false; }
belongsTo
263,895
boolean () { return false; }
wasEveryThingDirty
263,896
FilePath (@NotNull String path, boolean isDirectory) { return new CustomFileSystemFilePath(path, isDirectory); }
createFilePath
263,897
VirtualFile () { return myFileSystem.findFileByPath(getPath()); }
getVirtualFile
263,898
void (final Supplier<Boolean> controlled) { myControlled = controlled; }
setControlled
263,899
void () { assert myControlled != null; final long start = System.currentTimeMillis(); synchronized (myLock) { while (true) { try { myLock.wait(300); } catch (InterruptedException e) { // } if ((System.currentTimeMillis() - start) >= ourTimeout) { myExitedByTimeout = true; return; } if (Boolean.TRUE.equals(myControlled....
startTimeout