Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 7,250 for return (0.05 sec)

  1. guava/src/com/google/common/collect/ContiguousSet.java

      public static ContiguousSet<Long> closed(long lower, long upper) {
        return create(Range.closed(lower, upper), DiscreteDomain.longs());
      }
    
      /**
       * Returns a contiguous set containing all {@code int} values from {@code lower} (inclusive) to
       * {@code upper} (exclusive). If the endpoints are equal, an empty set is returned. (These are the
       * same values contained in {@code Range.closedOpen(lower, upper)}.)
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

        val subjectCaCerts = subjectToCaCerts[issuer] ?: return null
    
        return subjectCaCerts.firstOrNull {
          try {
            cert.verify(it.publicKey)
            return@firstOrNull true
          } catch (_: Exception) {
            return@firstOrNull false
          }
        }
      }
    
      override fun equals(other: Any?): Boolean {
        return other === this ||
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

        if (negative) {
          return accum;
        } else if (accum == Long.MIN_VALUE) {
          return null;
        } else {
          return -accum;
        }
      }
    
      private static final class LongConverter extends Converter<String, Long> implements Serializable {
        static final Converter<String, Long> INSTANCE = new LongConverter();
    
        @Override
        protected Long doForward(String value) {
          return Long.decode(value);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Longs.java

        if (negative) {
          return accum;
        } else if (accum == Long.MIN_VALUE) {
          return null;
        } else {
          return -accum;
        }
      }
    
      private static final class LongConverter extends Converter<String, Long> implements Serializable {
        static final Converter<String, Long> INSTANCE = new LongConverter();
    
        @Override
        protected Long doForward(String value) {
          return Long.decode(value);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  5. cmd/local-locker.go

    		lockCopy[k] = append(make([]lockRequesterInfo, 0, len(v)), v...)
    	}
    	return lockCopy
    }
    
    func (l *localLocker) Close() error {
    	return nil
    }
    
    // IsOnline - local locker is always online.
    func (l *localLocker) IsOnline() bool {
    	return true
    }
    
    // IsLocal - local locker returns true.
    func (l *localLocker) IsLocal() bool {
    	return true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

          return var.toString();
        }
    
        /** Wraps {@code t} in a {@code TypeVariableKey} if it's a type variable. */
        @CheckForNull
        static TypeVariableKey forLookup(Type t) {
          if (t instanceof TypeVariable) {
            return new TypeVariableKey((TypeVariable<?>) t);
          } else {
            return null;
          }
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashing.java

      static int getHashPrefix(int value, int mask) {
        return value & ~mask;
      }
    
      /** Returns the index, or 0 if the entry is "null". */
      static int getNext(int entry, int mask) {
        return entry & mask;
      }
    
      /** Returns a new value combining the prefix and suffix using the given mask. */
      static int maskCombine(int prefix, int suffix, int mask) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/bytes/reader.go

    	if off < 0 {
    		return 0, errors.New("bytes.Reader.ReadAt: negative offset")
    	}
    	if off >= int64(len(r.s)) {
    		return 0, io.EOF
    	}
    	n = copy(b, r.s[off:])
    	if n < len(b) {
    		err = io.EOF
    	}
    	return
    }
    
    // ReadByte implements the [io.ByteReader] interface.
    func (r *Reader) ReadByte() (byte, error) {
    	r.prevRune = -1
    	if r.i >= int64(len(r.s)) {
    		return 0, io.EOF
    	}
    	b := r.s[r.i]
    	r.i++
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

          }
          if (eqCount == 0) break // We peeked a scheme name.
          if (eqCount > 1) return // Unexpected '=' characters.
          if (skipCommasAndWhitespace()) return // Unexpected ','.
    
          val parameterValue =
            when {
              startsWith('"'.code.toByte()) -> readQuotedString()
              else -> readToken()
            } ?: return // Expected a value.
    
          val replaced = parameters.put(peek, parameterValue)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

        }
    
    
        /**
         * @return the maxCount
         */
        public final int getMaxCount () {
            return this.maxCount;
        }
    
    
        /**
         * @param maxCount
         *            the maxCount to set
         */
        public final void setMaxCount ( int maxCount ) {
            this.maxCount = maxCount;
        }
    
    
        /**
         * @return the minCount
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
Back to top