Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 3,522 for throwIf (0.52 seconds)

  1. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         * @throws UnknownHostException if the host cannot be resolved to find out.
         */
    
        public boolean isInConflict() throws UnknownHostException {
            checkNodeStatusData();
            return isInConflict;
        }
    
        /**
         * Determines if this address is active.
         *
         * @return true if the address is active, false otherwise
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

        }
    
        protected void customizeContainerConfiguration(C context, ContainerConfiguration configuration) throws Exception {}
    
        protected void customizeContainer(C context, PlexusContainer container) throws Exception {}
    
        protected List<Path> parseExtClasspath(C context) throws Exception {
            ProtoSession protoSession = context.protoSession;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

          } catch (NoSuchMethodException e) {
            throw newLinkageError(e);
          }
        } else if (rawType.equals(Consumer.class)) {
          return (Consumer<Object>) v -> {};
        } else {
          return null;
        }
      }
    
      private static <T> void callAllPublicMethods(TypeToken<T> type, T object)
          throws InvocationTargetException {
        for (Method method : type.getRawType().getMethods()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/dcerpc/msrpc/samr.java

                this.handle = handle;
            }
    
            @Override
            public void encode_in(final NdrBuffer _dst) throws NdrException {
                this.handle.encode(_dst);
            }
    
            @Override
            public void decode_out(final NdrBuffer _src) throws NdrException {
                this.retval = _src.dec_ndr_long();
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

                this.handle = handle;
            }
    
            @Override
            public void encode_in(final NdrBuffer _dst) throws NdrException {
                handle.encode(_dst);
            }
    
            @Override
            public void decode_out(final NdrBuffer _src) throws NdrException {
                retval = _src.dec_ndr_long();
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

          } else {
            throw ProtocolException("Unexpected status line: $statusLine")
          }
    
          // Parse response code like "200". Always 3 digits.
          if (statusLine.length < codeStart + 3) {
            throw ProtocolException("Unexpected status line: $statusLine")
          }
          val code =
            statusLine.substring(codeStart, codeStart + 3).toIntOrNull()
              ?: throw ProtocolException(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

        private String deploymentTimestamp;
    
        @Override
        public void transformForResolve(Artifact artifact, RepositoryRequest request) throws ArtifactResolutionException {
            // Only select snapshots that are unresolved (eg 1.0-SNAPSHOT, not 1.0-20050607.123456)
            if (artifact.isSnapshot() && artifact.getBaseVersion().equals(artifact.getVersion())) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/testing/GcFinalization.java

        } while (System.nanoTime() - deadline < 0);
        throw formatRuntimeException(
            "Predicate did not become true within %d second timeout", timeoutSeconds);
      }
    
      /**
       * Waits until the given latch has {@linkplain CountDownLatch#countDown counted down} to zero,
       * invoking the garbage collector as necessary to try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt

      override fun writeTo(sink: BufferedSink) {
        requestBodySinks.add(sink)
      }
    
      override fun isDuplex(): Boolean = true
    
      @Throws(InterruptedException::class)
      fun takeSink(): BufferedSink = requestBodySinks.poll(5, SECONDS) ?: throw AssertionError("no sink to take")
    
      fun assertNoMoreSinks() {
        assertTrue(requestBodySinks.isEmpty())
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    @GwtCompatible
    public enum MapFeature implements Feature<Map> {
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)},
       * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}.
       */
      ALLOWS_NULL_KEY_QUERIES,
      ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES),
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top