- Sort Score
- Num 10 results
- Language All
Results 2491 - 2500 of 3,180 for when (0.12 seconds)
-
src/archive/tar/tar_test.go
} if g, e := h.ModTime, fi.ModTime(); !g.Equal(e) { t.Errorf("ModTime = %v; want %v", g, e) } // FileInfoHeader should error when passing nil FileInfo if _, err := FileInfoHeader(nil, ""); err == nil { t.Fatalf("Expected error when passing nil to FileInfoHeader") } } func TestFileInfoHeaderDir(t *testing.T) { fi, err := os.Stat("testdata") if err != nil { t.Fatal(err) }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 25 00:25:45 GMT 2024 - 23.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
} /** * This test checks an implementation dependent feature. It tests that the method {@code addEdge} * will silently add the missing nodes to the graph, then add the edge connecting them. We are not * using the proxy methods here as we want to test {@code addEdge} when the end-points are not * elements of the graph. */ @Test public void addEdge_nodesNotInGraph() { assume().that(graphIsMutable()).isTrue();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 21.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
return null; } pomArtifact = rel.pomArtifact; relocatedArtifact = rel.relocatedArtifact; if (rel.project == null) { // When this happens we have a Maven 1.x POM, or some invalid POM. // It should have never found its way into Maven 2.x repository, but it did. dependencies = Collections.emptyList(); } else {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 12:03:50 GMT 2025 - 30.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
assertTrue(mockFilterChain.wasDoFilterCalled()); // Chain should continue if no handler assertTrue(corsHandlerFactory.wasGetCalled()); assertEquals(0, mockResponse.getStatus()); // Status not set when no handler } // Test with different origin formats @Test public void test_doFilter_differentOrigins() throws Exception {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 22.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java
} } // This is just a marker output folder to allow this task being up-to-date. // The check logic is exception driven so a failed tasks will not be defined // by this output but when successful we can safely mark the task as up-to-date. @OutputDirectory public File getOutputMarker() { return new File(getProject().getBuildDir(), "dependencyLicense"); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jul 26 12:16:14 GMT 2021 - 14.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
// Decode smbInfoAllocation.decode(buffer, 0, buffer.length); // The implementation reads values as signed integers and stores them as long // Negative values remain negative when stored in long fields // The calculations will result in negative values long expectedCapacity = (long) alloc * sectPerAlloc * bytesPerSect; assertEquals(expectedCapacity, smbInfoAllocation.getCapacity());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
} public void testWildcardSubtypes() throws Exception { new WildcardSubtypingTests().testAllDeclarations(); } /** * This test reproduces the bug in canonicalizeWildcardType() when the type variable is * recursively bounded. */ public void testRecursiveWildcardSubtypeBug() throws Exception { Exception e = assertThrows(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 20.4K bytes - Click Count (0) -
internal/s3select/message.go
// https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-stats.png // // Payload specification: // Stats message payload is an XML document containing information about a request's stats when processing is complete. // - BytesScanned => Number of bytes that have been processed before being uncompressed (if the file is compressed).
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 15.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
* type. Later, RegularImmutableSortedSet.toArray() calls System.arraycopy() * to copy from that array to the destination array. This would be fine, but * GWT has a bug: It refuses to copy from an E[] to an Object[] when E is an * interface type. */ // TODO: test other collections for this problem public void testOf_gwtArraycopyBug() { /* * The test requires: *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 46.3K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
tempFile = new File(Curl.tmpDir, "non-existent-file.tmp"); assertFalse(tempFile.exists()); ContentCache cache = new ContentCache(tempFile); // Should throw IOException when file doesn't exist try { cache.close(); fail("Expected IOException for non-existent file"); } catch (IOException e) { // Expected - file doesn't exist }
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 15.9K bytes - Click Count (0)