Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 2,652 for throwIt (0.05 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

        }
    
        @Override public MediaType contentType() {
          return MEDIA_TYPE_MARKDOWN;
        }
    
        @Override public void writeTo(BufferedSink sink) throws IOException {
          sink.writeAll(pipe.source());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostStreamingWithPipe().run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/LongMath.java

       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException of the next-higher power of two is not representable as a {@code
       *     long}, i.e. when {@code x > 2^62}
       * @since 20.0
       */
      public static long ceilingPowerOfTwo(long x) {
        checkPositive("x", x);
        if (x > MAX_SIGNED_POWER_OF_TWO) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Ordering.java

       * @throws NoSuchElementException if {@code iterator} is empty
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this
       *     ordering.
       * @since 11.0
       */
      @ParametricNullness
      public <E extends T> E min(Iterator<E> iterator) {
        // let this throw NoSuchElementException as necessary
        E minSoFar = iterator.next();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java

        @Override
        public ClassificationMeta provide(final String classificationName) throws ProvidedClassificationNotFoundException {
            final ClassificationMeta onMainSchema = findOnMainSchema(classificationName);
            if (onMainSchema == null) {
                final String msg = "Not found the classification: " + classificationName;
                throw new ProvidedClassificationNotFoundException(msg);
            }
            return onMainSchema;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

       *
       * @deprecated unsupported operation
       * @throws UnsupportedOperationException always
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      @CheckForNull
      public B put(TypeToken<? extends @NonNull B> key, @ParametricNullness B value) {
        throw new UnsupportedOperationException("Please use putInstance() instead.");
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/spnego/NegTokenTarg.java

                return collector.toByteArray();
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        protected void parse ( byte[] token ) throws IOException {
            try ( ASN1InputStream der = new ASN1InputStream(token) ) {
                ASN1TaggedObject tagged = (ASN1TaggedObject) der.readObject();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

        private final Mac digest;
    
        /**
         * @param sessionKey
         * @param dialect
         * @param preauthIntegrityHash
         * @throws GeneralSecurityException
         * 
         */
        public Smb2SigningDigest ( byte[] sessionKey, int dialect, byte[] preauthIntegrityHash ) throws GeneralSecurityException {
            Mac m;
            byte[] signingKey;
            switch ( dialect ) {
            case Smb2Constants.SMB2_DIALECT_0202:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/av/AvPairs.java

    public final class AvPairs {
    
        private AvPairs () {}
    
    
        /**
         * Decode a list of AvPairs
         * 
         * @param data
         * @return individual pairs
         * @throws CIFSException
         */
        public static List<AvPair> decode ( byte[] data ) throws CIFSException {
            List<AvPair> pairs = new LinkedList<>();
            int pos = 0;
            boolean foundEnd = false;
            while ( pos + 4 <= data.length ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            this.type = t;
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @see jcifs.SmbResourceLocator#getType()
         */
        @Override
        public int getType () throws CIFSException {
            if ( this.type == 0 ) {
                if ( getUNCPath().length() > 1 ) {
                    this.type = SmbConstants.TYPE_FILESYSTEM;
                }
                else if ( getShare() != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

        private String serverRealm;
        private KerberosEncData encData;
    
    
        public KerberosTicket ( byte[] token, byte apOptions, KerberosKey[] keys ) throws PACDecodingException {
            if ( token.length <= 0 )
                throw new PACDecodingException("Empty kerberos ticket");
    
            ASN1Sequence sequence;
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top