- Sort Score
- Result 10 results
- Languages All
Results 951 - 960 of 1,159 for needle (0.09 sec)
-
guava-tests/test/com/google/common/io/CharStreamsTest.java
* size to reach 0, causing an infinite loop. */ @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 public void testCopyWithReaderThatDoesNotFillBuffer() throws IOException { // need a long enough string for the buffer to hit 0 remaining before the copy completes String string = Strings.repeat("0123456789", 100); StringBuilder b = new StringBuilder();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
} @BeforeEach public void setUp() throws UnknownHostException { ntlmSsp = new NtlmSsp(); // Use lenient stubbing to avoid UnnecessaryStubbing errors for tests that don't need all mocks lenient().when(mockCifsContext.getConfig()).thenReturn(mockConfig); lenient().when(mockConfig.getDefaultDomain()).thenReturn("DOMAIN"); lenient().when(mockConfig.isUseUnicode()).thenReturn(true);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
android/guava/src/com/google/common/base/MoreObjects.java
* helps to shortcut most calls to isEmpty(), which is important because the check for emptiness * is relatively expensive. Use a subtype so this also doesn't need any extra storage. */ private static final class UnconditionalValueHolder extends ValueHolder {} } private MoreObjects() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
import jcifs.Address; import jcifs.CIFSContext; import jcifs.NetbiosAddress; import jcifs.NetbiosName; /** * This class represents a NetBIOS over TCP/IP address. Under normal * conditions, users of jCIFS need not be concerned with this class as * name resolution and session services are handled internally by the smb package. * * * * Applications can use the methods <code>getLocalHost</code>, * <code>getByName</code>, and
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
// The finally block ensures pipe is closed even if handle close fails // Since the real method will propagate the exception from handle.close(), // we need to catch it to verify that pipe.close() was still called try { handle.close(); fail("Expected IOException to be thrown"); } catch (IOException e) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
/** * Prepares the HTTP headers and sends them to the server. * * For streaming requests with a body, headers must be prepared **before** the output stream has * been written to. Otherwise the body would need to be buffered! * * For non-streaming requests with a body, headers must be prepared **after** the output stream * has been written to and closed. This ensures that the `Content-Length` header field receives
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7) -
cmd/admin-handlers_test.go
"net/url" "sort" "sync" "testing" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/auth" "github.com/minio/mux" ) // adminErasureTestBed - encapsulates subsystems that need to be setup for // admin-handler unit tests. type adminErasureTestBed struct { erasureDirs []string objLayer ObjectLayer router *mux.Router done context.CancelFunc }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.9K bytes - Viewed (1) -
src/main/java/jcifs/smb/SID.java
*/ public SID(final String textual) throws SmbException { final StringTokenizer st = new StringTokenizer(textual, "-"); if (st.countTokens() < 3 || !st.nextToken().equals("S")) { // need S-N-M throw new SmbException("Bad textual SID format: " + textual); } this.revision = Byte.parseByte(st.nextToken()); final String tmp = st.nextToken(); long id = 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
return arrayType.cast(Array.newInstance(requireNonNull(arrayType.getComponentType()), 0)); } // Internal implementations of some classes, with public default constructor that get() needs. private static final class Dummies { @Keep public static final class InMemoryPrintStream extends PrintStream { @Keep public InMemoryPrintStream() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 21.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
void resolveSids_withOffsetAndCache_behavesCorrectly() throws Exception { CIFSContext ctx = mock(CIFSContext.class); SIDCacheImpl cache = Mockito.spy(new SIDCacheImpl(ctx)); // Prepare SIDs, two need resolution, one already resolved SID s1 = sid("S-1-5-21-10-11-12-1001"); SID s2 = sid("S-1-5-21-10-11-12-1002"); SID s3 = sid("S-1-5-21-10-11-12-1003");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0)