- Sort Score
- Num 10 results
- Language All
Results 1481 - 1490 of 1,917 for _all (0.02 seconds)
-
src/test/java/jcifs/util/SecureCredentialStorageTest.java
try { storage.destroy(); } catch (DestroyFailedException e) { // This is acceptable - not all JVM implementations support destroying SecretKey // The important part is that the storage is marked as destroyed } assertTrue(storage.isDestroyed(), "Storage should be marked as destroyed");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java
// but we can verify it was created successfully } @Test public void testBuildWithCustomSettings() { // Test building with all custom settings String id = "custom-id"; builder.setSettingsIndexName("CUSTOM_INDEX") .addInitialSettings("custom.key1", "value1") .addInitialSettings("custom.key2", 42)Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 14.4K bytes - Click Count (0) -
tests/query_test.go
} else { CheckUser(t, last, users[2]) } }) var all []User if err := DB.Where("name = ?", "find").Find(&all).Error; err != nil || len(all) != 3 { t.Errorf("errors happened when query find: %v, length: %v", err, len(all)) } else { for idx, user := range users { t.Run("FindAll#"+strconv.Itoa(idx+1), func(t *testing.T) { CheckUser(t, all[idx], user) }) } } t.Run("FirstMap", func(t *testing.T) {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Jul 22 06:21:04 GMT 2025 - 51K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
} public void testEqualsForEqualMap() { Map<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } // Explicitly call `equals`; `assertEquals` might return fast assertTrue(map.equals(map)); assertTrue(makePopulatedMap().equals(map)); assertFalse(map.equals(emptyMap())); // no-inspection ObjectEqualsNull
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
nodes.add(node); map.put(key, node); } // Pre-populate all allowedPriorLocks with nodes of smaller ordinal. for (int i = 1; i < numKeys; i++) { nodes.get(i).checkAcquiredLocks(Policies.THROW, nodes.subList(0, i)); } // Pre-populate all disallowedPriorLocks with nodes of larger ordinal. for (int i = 0; i < numKeys - 1; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java
* * Doing it correctly would require running a Gradle build with the full * distribution and extracting the generated api jar from its Gradle user home, * slowing down building documentation. * * All this would be so much simpler if the Kotlin extensions to the Gradle API * were generated at build time instead. * * This is a first step to get the doc to be complete and will be revisited. */ @CacheableTask
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sun Mar 19 17:15:23 GMT 2023 - 3.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
public void testString() { Random random = new Random(); for (int i = 0; i < 100; i++) { byte[] bytes = new byte[64]; random.nextBytes(bytes); String s = new String(bytes, UTF_16LE); // so all random strings are valid assertEquals( new TestHasher().putUnencodedChars(s).hash(), new TestHasher().putBytes(s.getBytes(UTF_16LE)).hash()); assertEquals(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTest.java
assertThrows(IOException.class, () -> failSource.copyTo(okSink)); // ensure stream was closed IF it was opened (depends on implementation whether or not it's // opened at all if source.newInputStream() throws). assertTrue( "stream not closed when copying from source with option: " + option, !okSink.wasStreamOpened() || okSink.wasStreamClosed()); } }
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) -
android/guava/src/com/google/common/collect/ImmutableEnumMap.java
UnmodifiableIterator<Entry<K, V>> entryIterator() { return Maps.unmodifiableEntryIterator(delegate.entrySet().iterator()); } @Override boolean isPartialView() { return false; } // All callers of the constructor are restricted to <K extends Enum<K>>. @Override @J2ktIncompatible // serialization Object writeReplace() { return new EnumSerializedForm<>(delegate); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
assertThrows(IOException.class, () -> failSource.copyTo(okSink)); // ensure stream was closed IF it was opened (depends on implementation whether or not it's // opened at all if source.newInputStream() throws). assertTrue( "stream not closed when copying from source with option: " + option, !okSink.wasStreamOpened() || okSink.wasStreamClosed()); } }
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)