- Sort Score
- Result 10 results
- Languages All
Results 1021 - 1030 of 4,617 for New (0.02 sec)
-
src/main/java/org/codelibs/core/misc/AssertionUtil.java
public static void assertArgumentArrayIndex(final String argName, final int argValue, final int arraySize) { if (argValue < 0) { throw new ClIllegalArgumentException(argName, "ECL0014", asArray(argName)); } if (argValue >= arraySize) { throw new ClIllegalArgumentException(argName, "ECL0015", asArray(argName, arraySize)); } } /** * Asserts that the argument is valid.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
f.setAccessible(true); f.set(c, val); } catch (Exception e) { throw new AssertionError(e); } } // Helper to build a minimal smb URL private static URL smbUrl(String spec) throws Exception { return new URL(null, spec, new Handler()); } @Test @DisplayName("getConfig returns context config") void getConfig_returnsConfig() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
final ConnectionSpec spec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) .cipherSuites(customCipherSuites.toArray(new CipherSuite[0])) .build(); X509TrustManager trustManager = defaultTrustManager(); SSLSocketFactory sslSocketFactory = defaultSslSocketFactory(trustManager); SSLSocketFactory customSslSocketFactory = new DelegatingSSLSocketFactory(sslSocketFactory) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Mar 14 21:57:42 UTC 2019 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
Arguments.of(DialectVersion.SMB210, DialectVersion.SMB300, new int[] { 0x0210, 0x0300 }), Arguments.of(DialectVersion.SMB202, DialectVersion.SMB311, new int[] { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 }), Arguments.of(DialectVersion.SMB311, DialectVersion.SMB311, new int[] { 0x0311 })); } @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
JAASAuthenticator auth = new JAASAuthenticator("DOM", "user", "pass"); NameCallback nc = new NameCallback("user:"); PasswordCallback pc = new PasswordCallback("pass:", false); // Exercise callback handler with both callbacks supplied Callback[] cbs = new Callback[] { nc, pc }; auth.handle(cbs);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableTable.java
} /** * Returns a new builder. The generated builder is equivalent to the builder created by the {@link * Builder#Builder() ImmutableTable.Builder()} constructor. */ public static <R, C, V> Builder<R, C, V> builder() { return new Builder<>(); } /** * Verifies that {@code rowKey}, {@code columnKey} and {@code value} are non-null, and returns a * new entry with those values. */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
assertArgumentNotNull("file", file); assertArgumentNotEmpty("encoding", encoding); try { return new InputStreamReader(new FileInputStream(file), encoding); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Reads a single line from the given {@link BufferedReader}. * * @param reader
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
} return delegate instanceof Serializable ? new MemoizingSupplier<T>(delegate) : new NonSerializableMemoizingSupplier<T>(delegate); } @VisibleForTesting static final class MemoizingSupplier<T extends @Nullable Object> implements Supplier<T>, Serializable { private transient Object lock = new Object(); final Supplier<T> delegate;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
byte[] buf = new byte[256]; int headerStart = 0; long expectedSessionId = 0x1122334455667788L; buildHeader(buf, headerStart, NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED, 0x0001, expectedSessionId); int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH; byte[] blob = new byte[] { 10, 20, 30, 40, 50 };Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
Runnable[] manualExecutorTask = new Runnable[1]; Executor manualExecutor = new Executor() { @Override public void execute(Runnable task) { manualExecutorTask[0] = task; } }; results.add(serializer.submit(Callables.returning(null), manualExecutor)); Future<?>[] thingToCancel = new Future<?>[1]; results.add(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 16.1K bytes - Viewed (0)