- Sort Score
- Result 10 results
- Languages All
Results 2311 - 2320 of 4,648 for new1 (0.05 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java
Set<Feature<?>> features = computeMultimapAsMapGetFeatures(parentBuilder.getFeatures()); if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) { return new TestSuite(); } else { return SetTestSuiteBuilder.using( new MultimapAsMapGetGenerator<K, V>(parentBuilder.getSubjectGenerator())) .withFeatures(features) .named(parentBuilder.getName() + ".asMap[].get[key]")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java
static <V extends @Nullable Object> TrustedListenableFutureTask<V> create( AsyncCallable<V> callable) { return new TrustedListenableFutureTask<>(callable); } static <V extends @Nullable Object> TrustedListenableFutureTask<V> create(Callable<V> callable) { return new TrustedListenableFutureTask<>(callable); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FunnelsTest.java
@NullUnmarked public class FunnelsTest extends TestCase { public void testForBytes() { PrimitiveSink primitiveSink = mock(PrimitiveSink.class); Funnels.byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink); verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1}); } public void testForBytes_null() { assertNullsThrowException(Funnels.byteArrayFunnel()); } public void testForStrings() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
enumConstantCache = new WeakHashMap<>(); private static <T extends Enum<T>> Map<String, WeakReference<? extends Enum<?>>> populateCache( Class<T> enumClass) { Map<String, WeakReference<? extends Enum<?>>> result = new HashMap<>(); for (T enumInstance : EnumSet.allOf(enumClass)) { result.put(enumInstance.name(), new WeakReference<Enum<?>>(enumInstance)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 13:41:58 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcErrorTest.java
// Test that DcerpcException can be created and implements DcerpcError DcerpcException ex1 = new DcerpcException("Test error", null); assertTrue(ex1 instanceof DcerpcError, "DcerpcException should implement DcerpcError"); // Test that DcerpcException can be created with string messages DcerpcException ex2 = new DcerpcException("Access denied error");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
rpc.retval = 0; // Simulate success return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenAlias.class)); // Act SamrAliasHandle aliasHandle = new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid); // Assert assertNotNull(aliasHandle); // Verify that sendrecv was called with the correct MsrpcSamrOpenAlias objectRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/archive/zip/writer_test.go
testReadFile(t, src.File[i], &wt) } // make a new zip file copying the old compressed data. buf2 := new(bytes.Buffer) dst := NewWriter(buf2) for _, f := range src.File { if err := dst.Copy(f); err != nil { t.Fatal(err) } } if err := dst.Close(); err != nil { t.Fatal(err) } // read the new one back r, err := NewReader(bytes.NewReader(buf2.Bytes()), int64(buf2.Len()))
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
} /** * Log the login activity. * @param user The user. */ public void login(final OptionalThing<FessUserBean> user) { final Map<String, String> valueMap = new LinkedHashMap<>(); valueMap.put("action", Action.LOGIN.name()); valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-")); valueMap.put("permissions",Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDouble.java
AtomicLongFieldUpdater.newUpdater(AtomicDouble.class, "value"); /** * Creates a new {@code AtomicDouble} with the given initial value. * * @param initialValue the initial value */ public AtomicDouble(double initialValue) { value = doubleToRawLongBits(initialValue); } /** Creates a new {@code AtomicDouble} with initial value {@code 0.0}. */ public AtomicDouble() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
} @Test public void testMultipleAnalyzersIndependence() { // Test that multiple analyzer instances work independently SuggestAnalyzer analyzer1 = new TestSuggestAnalyzer(); SuggestAnalyzer analyzer2 = new TestSuggestAnalyzer(); String text = "test text"; String field = "content"; String lang = "en";Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0)