- Sort Score
- Num 10 results
- Language All
Results 2151 - 2160 of 3,670 for throwIf (0.05 seconds)
-
guava/src/com/google/common/collect/EnumHashBiMap.java
private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); stream.writeObject(keyTypeOrObjectUnderJ2cl); Serialization.writeMap(this, stream); } @SuppressWarnings("unchecked") // reading field populated by writeObject @GwtIncompatible // java.io.ObjectInputStream private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
mockContext.renewCredentials("hint", new Exception()); }); } @Test @DisplayName("Should get SmbResource") void testGet() throws CIFSException { // Given String url = "smb://server/share/file"; SmbResource mockResource = mock(SmbResource.class); when(mockContext.get(url)).thenReturn(mockResource); // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy
if (test.continued) { /* Catch some difficult to debug errors with // TEST[continued] * and throw a helpful error message. */ if (previousTest == null || previousTest.path != test.path) { throw new InvalidUserDataException("// TEST[continued] " + "cannot be on first snippet in a file: $test") }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 19.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
assertEquals( "computeIfAbsent(present, function) should return existing value", v0(), getMap() .computeIfAbsent( k0(), k -> { throw new AssertionFailedError(); })); expectUnchanged(); } @MapFeature.Require(SUPPORTS_PUT) public void testComputeIfAbsent_functionReturnsNullNotInserted() { assertNull(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ObjectsTest.java
"EqualsLong", // b/273939864 "EqualsDouble", // b/273939864 "EqualsFloat", // b/273939864 "YodaCondition", // test of reversed call }) public void testEqual() throws Exception { assertTrue(Objects.equal(1, 1)); assertTrue(Objects.equal(null, null)); // test distinct string objects String s1 = "foobar"; String s2 = new String(s1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/PeekingIterator.java
* * <p>Calls to {@code peek()} should not change the state of the iteration, except that it * <i>may</i> prevent removal of the most recent element via {@link #remove()}. * * @throws NoSuchElementException if the iteration has no more elements according to {@link * #hasNext()} */ @ParametricNullness E peek(); /** * {@inheritDoc} *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/DfsReferral.java
public String share; // Share /** The complete UNC path link */ public String link; /** Path relative to tree from which this referral was thrown */ public String path; // Path relative to tree from which this referral was thrown /** Whether to resolve hashes in the path */ public boolean resolveHashes; /** Expiration time for this referral entry */ public long expiration;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/spnego/SpnegoToken.java
public abstract byte[] toByteArray(); /** * Parses the provided token bytes to populate this SPNEGO token * @param token the token bytes to parse * @throws IOException if parsing fails */ protected abstract void parse(byte[] token) throws IOException;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (2) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
if (project != project.getRootProject()) { throw new IllegalStateException(this.getClass().getName() + " can only be applied to the root project."); } GradleVersion minimumGradleVersion = GradleVersion.version(getResourceContents("/minimumGradleVersion")); if (GradleVersion.current().compareTo(minimumGradleVersion) < 0) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt
accept(object : MemberValueVisitorAdapter() { override fun visitIntegerMemberValue(node: IntegerMemberValue) { value = node.value } }) if (value == null) throw annotationMemberValueNotFound(typeOf<Int>()) return value!! } internal val MemberValue.stringValue: String get() { var value: String? = null
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.6K bytes - Click Count (0)