- Sort Score
- Num 10 results
- Language All
Results 1181 - 1190 of 6,187 for New (0.11 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
public final class PreemptiveAuth { private final OkHttpClient client; public PreemptiveAuth() { client = new OkHttpClient.Builder() .addInterceptor( new BasicAuthInterceptor("publicobject.com", "jesse", "password1")) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/secrets/hellosecret.txt") .build();Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Nov 05 07:46:46 GMT 2018 - 2.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ActivationSettings.java
return new ActivationSettings(active, optional, recursive); } static ActivationSettings activated() { return new ActivationSettings(true, false, true); } static ActivationSettings activatedOpt() { return new ActivationSettings(true, true, true); } static ActivationSettings deactivated() { return new ActivationSettings(false, false, false); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSinkTest.java
TestCharSink failSink = new TestCharSink(WRITE_THROWS); assertThrows(IOException.class, () -> new TestCharSource(STRING).copyTo(failSink)); assertTrue(failSink.wasStreamClosed()); } public void testClosesOnErrors_whenWritingFromReaderThatThrows() { TestCharSink okSink = new TestCharSink(); assertThrows(IOException.class, () -> okSink.writeFrom(new TestReader(READ_THROWS)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
} return null } private static List<Boolean> typeParametersNullabilityOf(CtClass ctClass) { NullableClassTypeParametersVisitor visitor = new NullableClassTypeParametersVisitor() new ClassReader(byteCodeFrom(ctClass)).accept(visitor, 0) return visitor.typeParametersNullability } static class NullableClassTypeParametersVisitor extends ClassVisitor {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Oct 27 09:26:32 GMT 2025 - 15.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * {@snippet : * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() { * public Foo apply(Foo foo) { * return new ForwardingFoo(foo); * } * }); * } * * @author Ben Yu * @since 14.0 */ @GwtIncompatible @J2ktIncompatible @NullMarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java
@Test public void test_empty() { final FieldConfigs fieldConfigs = new FieldConfigs(Collections.emptyMap()); assertTrue(fieldConfigs.getConfig("test").isEmpty()); } @Test public void test_values() { final Map<String, String> params = Maps.of("foo", "bar"); FieldConfigs fieldConfigs = new FieldConfigs(params); assertTrue(fieldConfigs.getConfig("test").isEmpty());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
void matchesBehavior() { // Two distinct auth instances NtlmPasswordAuthentication a1 = new NtlmPasswordAuthentication("DOM", "user", "pwd"); NtlmPasswordAuthentication a2 = new NtlmPasswordAuthentication("DOM", "user", "pwd"); SmbSession s1 = new SmbSession(addr, 445, inet, 0, a1); SmbSession s2 = new SmbSession(addr, 445, inet, 0, a2); // same auth instance => matches
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
k3(), (k, v) -> { throw new AssertionFailedError(); })); expectUnchanged(); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testComputeIfPresent_supportedPresent() { assertEquals( "computeIfPresent(present, function) should return new value", v3(), getMap() .computeIfPresent(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 6.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java
} } /** * Gets the new input words. * Returns a defensive copy to prevent external modification. * * @return The new input words (defensive copy). */ public String[] getNewInputs() { return newInputs == null ? null : newInputs.clone(); } /** * Sets the new input words. * * @param newInputs The new input words. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 6K bytes - Click Count (0)