- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 6,076 for newE (0.02 seconds)
-
src/test/java/jcifs/smb/CredentialsInternalTest.java
public boolean isGuest() { return this.guest; } } static Stream<boolean[]> anonGuestFlags() { return Stream.of(new boolean[] { false, false }, new boolean[] { true, false }, new boolean[] { false, true }, new boolean[] { true, true }); } @ParameterizedTest @MethodSource("anonGuestFlags") @DisplayName("unwrap, domain, anonymous/guest flags happy paths")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
private static final Map<AnnotatedElement, List<Annotation>> annotationCache = new HashMap<>(); private static final Map<Class<?>, TesterRequirements> classTesterRequirementsCache = new HashMap<>(); private static final Map<Method, TesterRequirements> methodTesterRequirementsCache = new HashMap<>(); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 12.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
protected Map<String, String> makeEmptyMap() { Map<String, Integer> underlying = new HashMap<>(); return transformValues( new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction()); } @Override protected Map<String, String> makePopulatedMap() { Map<String, Integer> underlying = new HashMap<>(); underlying.put("a", 1); underlying.put("b", 2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
return filterCollection(unfiltered.get(key), new ValuePredicate(key)); } @Override Collection<Entry<K, V>> createEntries() { return filterCollection(unfiltered.entries(), predicate); } @Override Collection<V> createValues() { return new FilteredMultimapValues<>(this); } @Override Iterator<Entry<K, V>> entryIterator() { throw new AssertionError("should never be called"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
void testInitResponseChained() { TestServerMessageBlock2Response response1 = new TestServerMessageBlock2Response(mockConfig); TestServerMessageBlock2Response response2 = new TestServerMessageBlock2Response(mockConfig); TestServerMessageBlock2Request nextRequest = new TestServerMessageBlock2Request(mockConfig); nextRequest.setTestResponse(response2);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
@BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); Properties props = new Properties(); config = new PropertyConfiguration(props); } @Test void testConstructor() { // Test constructor with SMB_INFO_ALLOCATION response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); assertNotNull(response);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
HashCode expectedHash = sha512().hashBytes(new byte[] {'m', 's'}); HashingInputStream in = new HashingInputStream(sha512(), buffer); long numOfByteSkipped = in.skip(2); assertEquals(2, numOfByteSkipped); byte[] buf = new byte[4]; int numOfByteRead = in.read(buf, 0, buf.length); assertEquals(2, numOfByteRead); assertEquals(expectedHash, in.hash()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 5.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
HashCode expectedHash = sha512().hashBytes(new byte[] {'m', 's'}); HashingInputStream in = new HashingInputStream(sha512(), buffer); long numOfByteSkipped = in.skip(2); assertEquals(2, numOfByteSkipped); byte[] buf = new byte[4]; int numOfByteRead = in.read(buf, 0, buf.length); assertEquals(2, numOfByteRead); assertEquals(expectedHash, in.hash()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 5.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
MockCallback callback = new MockCallback(e); addCallback(f, callback, directExecutor()); } public void testOnSuccessThrowsRuntimeException() throws Exception { RuntimeException exception = new RuntimeException(); String result = "result"; SettableFuture<String> future = SettableFuture.create(); int[] successCalls = new int[1]; int[] failureCalls = new int[1];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
FileBasicInfo original = new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, TEST_CHANGE_TIME, TEST_ATTRIBUTES); // Encode to buffer byte[] buffer = new byte[50]; int encodedBytes = original.encode(buffer, 0); // Decode to new instance (decode reads 36 bytes, encode writes 40) FileBasicInfo decoded = new FileBasicInfo();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0)