- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 87 for newDir (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
File file = newDir("some-dir"); assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir, file); } public void testFileTraverser_multipleFilesAndDirectories() throws Exception { File fileA = newFile("file-a"); File fileB = newFile("file-b"); File dir1 = newDir("dir-1"); File dir2 = newDir("dir-2");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
File file = newDir("some-dir"); assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir, file); } public void testFileTraverser_multipleFilesAndDirectories() throws Exception { File fileA = newFile("file-a"); File fileB = newFile("file-b"); File dir1 = newDir("dir-1"); File dir2 = newDir("dir-2");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesFileTraverserTest.java
Path file = newDir("some-dir"); assertThat(MoreFiles.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir, file); } public void testFileTraverser_multipleFilesAndDirectories() throws Exception { Path fileA = newFile("file-a"); Path fileB = newFile("file-b"); Path dir1 = newDir("dir-1"); Path dir2 = newDir("dir-2");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
internal/logger/logrotate.go
f, err := newFile(path) if err != nil { return fmt.Errorf("unable to create new file at %v: %w", path, err) } w.f = f return nil } // NewDir creates a new concurrency safe Writer which performs log rotation. func NewDir(opts Options) (io.WriteCloser, error) { if err := os.MkdirAll(opts.Directory, os.ModePerm); err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileTest.java
@BeforeEach void setUp() throws CIFSException { doReturn(mockTreeHandle).when(smbFile).ensureTreeConnected(); when(mockLocator.getUNCPath()).thenReturn("\\localhost\share\newdir"); when(mockLocator.getShare()).thenReturn("share"); // Mock tree handle's getConfig() to return our mock config when(mockTreeHandle.getConfig()).thenReturn(mockConfig); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.8K bytes - Click Count (0) -
cmd/server-main.go
if ctx.IsSet("log-prefix") { fileNameFunc = func() string { return fmt.Sprintf("%s-%s.log", ctx.String("log-prefix"), fmt.Sprintf("%X", time.Now().UTC().UnixNano())) } } output, err := logger.NewDir(logger.Options{ Directory: lgDirAbs, MaximumFileSize: int64(lgSize), Compress: ctx.Bool("log-compress"), FileNameFunc: fileNameFunc, }) if err != nil { return nil, err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:18:36 GMT 2025 - 35.9K bytes - Click Count (4) -
src/cmd/buildid/buildid.go
} newID := id[:strings.LastIndex(id, "/")] + "/" + buildid.HashToString(hash) if len(newID) != len(id) { log.Fatalf("%s: build ID length mismatch %q vs %q", file, id, newID) } if len(matches) == 0 { return } f, err = os.OpenFile(file, os.O_RDWR, 0) if err != nil { log.Fatal(err) } if err := buildid.Rewrite(f, matches, newID); err != nil { log.Fatal(err) }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Jun 21 19:58:04 GMT 2024 - 1.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java
* artifact, closer to the entry point, is selected */ @Configuration(name = "closer-first", value = "true") private boolean closerFirst = true; /** * newer artifact is selected */ @Configuration(name = "newer-first", value = "true") private boolean newerFirst = true; @Override public MetadataGraphEdge apply(MetadataGraphEdge e1, MetadataGraphEdge e2) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.2K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
Model model = Model.newBuilder(true).properties(props).build(); String xml = toXml(model); for (int i = 0; i < 10; i++) { String newStr = toXml(fromXml(xml)); assertEquals(newStr, xml); } } @Test void testNamespaceInXmlNode() throws XMLStreamException { String xml = "<project xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4K bytes - Click Count (0) -
src/cmd/api/testdata/src/pkg/p4/golden.txt
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 24 16:04:17 GMT 2025 - 329 bytes - Click Count (0)