- Sort Score
- Num 10 results
- Language All
Results 3011 - 3020 of 3,176 for Then (0.03 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
} }); assertTrue(a.compareAndSet(0, 1.0, 2.0)); awaitTermination(t); assertBitEquals(3.0, a.get(0)); } /** repeated weakCompareAndSet succeeds in changing value when equal to expected */ public void testWeakCompareAndSet() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i : new int[] {0, SIZE - 1}) { double prev = 0.0;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
assertEquals(1, customConfig.getBatchLimit("UnknownCommand")); } @Test @DisplayName("Test isAllowCompound method") void testIsAllowCompound() { // Default behavior when disallowCompound is null assertTrue(config.isAllowCompound("AnyCommand")); // Set disallowCompound config.disallowCompound = new HashSet<>(Arrays.asList("Command1", "Command2"));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
} /** * Creates an empty multiset containing the given initial elements, sorted according to the * elements' natural order. * * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}. * * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
cmd/post-policy_test.go
if rec.Code != testCase.expectedRespStatus { t.Errorf("Test %d: %s: Expected the response status to be `%d`, but instead found `%d`", i+1, instanceType, testCase.expectedRespStatus, rec.Code) } // When the operation is successful, check if sending metadata is successful too if rec.Code == http.StatusNoContent { objInfo, err := obj.GetObjectInfo(context.Background(), bucketName, testCase.objectName+"/upload.txt", opts)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 30.6K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
isDelMarker: true, expectedAction: DeleteVersionAction, }, // Should not expire a delete marker; ExpiredObjectDeleteAllVersions applies only when current version is not a DEL marker. {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K 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) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
SortedSet<E> set = newTreeSet(); for (E element : elements) { // Explicit null check because TreeSet wrongly accepts add(null) when empty. set.add(checkNotNull(element)); } return set; } public static class ContiguousSetGenerator extends AbstractContiguousSetGenerator { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 15.9K bytes - Click Count (0) -
README.md
### Performance Optimizations - **Caching** - Bean descriptors and reflection metadata are cached for improved performance - **Lazy initialization** - Resources and expensive operations are initialized only when needed - **Memory efficient** - Specialized collections like `LruHashMap` and `ArrayMap` for memory-conscious applications - **Java 21 features** - Switch expressions and pattern matching for reduced overhead
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> { response.readBytesWireFormat(buffer, 0); }); // The validation correctly detects when buffer extends beyond available data assertTrue(exception.getMessage().contains("Security buffer extends beyond available data"), "Should detect security buffer overflow: " + exception.getMessage()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java
*/ ModelBuildingRequest setModelSource(ModelSource modelSource); /** * Gets the POM file of the project to build. * * @return The POM file of the project or {@code null} if not applicable (i.e. when processing a POM from the * repository). */ File getPomFile(); /** * Sets the POM file of the project to build. Note that providing the path to a POM file via this method will makeCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 12.8K bytes - Click Count (0)