- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 171 for arbitrary (0.06 sec)
-
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
assertThat(recordedRequest.handshakeServerNames).containsExactly("cash.app") } } /** * Connect to [hostnameOrIpAddress] and return what was received. To fake an arbitrary hostname we * tell MockWebServer to act as a proxy. */ private fun requestToHostnameViaProxy(hostnameOrIpAddress: String): RecordedRequest { val heldCertificate = HeldCertificate
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test constructor DcerpcException(int error) with an unknown error code. */ @Test void testConstructorWithError_unknownCode() { int errorCode = 0x12345678; // An arbitrary unknown error code DcerpcException exception = new DcerpcException(errorCode); assertEquals(errorCode, exception.getErrorCode(), "Error code should match the input.");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
} @ParameterizedTest @CsvSource({ "0, 0", // all zeros "-1, 2147483647", // negative fid, max positive security "12345, 999" // arbitrary numbers }) void toString_includesCorrectHexValues(int fid, int securityInformation) { NtTransQuerySecurityDesc cmd = new NtTransQuerySecurityDesc(fid, securityInformation); String result = cmd.toString();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PrefixedObjectValueSource.java
import org.codehaus.plexus.interpolation.AbstractDelegatingValueSource; import org.codehaus.plexus.interpolation.PrefixedValueSourceWrapper; import org.codehaus.plexus.interpolation.QueryEnabledValueSource; /** * Wraps an arbitrary object with an {@link ObjectBasedValueSource} instance, then * wraps that source with a {@link PrefixedValueSourceWrapper} instance, to which * this class delegates all of its calls. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
return Stream.of(Arguments.of(0, 0L, 0L, 0L, 0L), // all zeros Arguments.of(1, 1L, 1L, 1L, 1L), // ones Arguments.of(123, 456L, 789L, 101112L, 131415L), // arbitrary positives Arguments.of(Integer.MAX_VALUE, Long.MAX_VALUE, Long.MIN_VALUE, 999_999_999_999L, -1L), // extremes Arguments.of(-1, -2L, -3L, -4L, -5L) // negative values ); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java
return candidateClassName; } } } return name; } // Only use for system Java/Groovy classes; arbitrary use on the build classpath will result in class/jar leaks. private boolean isVisibleSystemClass(String candidateClassName) { try { getClass().getClassLoader().loadClass(candidateClassName);Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Jul 16 15:20:01 UTC 2025 - 6.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SneakyThrows.java
/** * Throws {@code t} as if it were an unchecked {@link Throwable}. * * <p>This method is useful primarily when we make a reflective call to a method with no {@code * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method, * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in * fact the static type of {@link Throwable} is occasionally justified even for a method with noRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Feb 03 21:52:39 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
} @ParameterizedTest @NullSource @ValueSource(strings = { "", "svc/******@****.***" }) @DisplayName("Name parameter is ignored (null/empty/arbitrary)") void nameParameter_isIgnoredAndDoesNotAffectResult(String name) { // Arrange StaticJAASConfiguration cfg = new StaticJAASConfiguration(); // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
if (defaultValue != null) { return defaultValue; } @SuppressWarnings("unchecked") // All arbitrary instances are generics-safe T arbitrary = (T) ArbitraryInstances.get(type.getRawType()); if (arbitrary != null) { return arbitrary; } if (type.getRawType() == Class.class) { // If parameter is Class<? extends Foo>, we return Foo.class
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
import org.apache.maven.api.annotations.Provider; import org.apache.maven.api.annotations.ThreadSafe; /** * A container for data that is specific to a session. * All components may use this storage to associate arbitrary data with a session. * <p> * Unlike a cache, this session data is not subject to purging. For this same reason, session data should also not be
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0)