Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 4,189 for intA (0.05 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        int keyCount = stream.readInt();
        if (keyCount < 0) {
          throw new InvalidObjectException("Invalid key count " + keyCount);
        }
        ImmutableMap.Builder<Object, ImmutableSet<Object>> builder = ImmutableMap.builder();
        int tmpSize = 0;
    
        for (int i = 0; i < keyCount; i++) {
          Object key = requireNonNull(stream.readObject());
          int valueCount = stream.readInt();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	return net.JoinHostPort(globalMinioHost, globalMinioPort)
    }
    
    // fetches a random number between range min-max.
    func getRandomRange(min, max int, seed int64) int {
    	// special value -1 means no explicit seeding.
    	if seed != -1 {
    		rand.Seed(seed)
    	}
    	return rand.Intn(max-min) + min
    }
    
    // Randomizes the order of bytes in the byte array
    // using Knuth Fisher-Yates shuffle algorithm.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbNamedPipe.java

    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbFile#getType()
         */
        @Override
        public int getType () throws SmbException {
            return TYPE_NAMED_PIPE;
        }
    
    
        /**
         * @return the pipe type
         */
        @Override
        public int getPipeType () {
            return this.pipeType;
        }
    
    
        /**
         * @return a handle for interacting with the pipe
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-params.md

    ```JSON
    {"item_id":3}
    ```
    
    /// check
    
    Notice that the value your function received (and returned) is `3`, as a Python `int`, not a string `"3"`.
    
    So, with that type declaration, **FastAPI** gives you automatic request <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr>.
    
    ///
    
    ## Data validation
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

        this.withLock {
          return Collections.unmodifiableList(runningSyncCalls + runningAsyncCalls.map { it.call })
        }
    
      fun queuedCallsCount(): Int = this.withLock { readyAsyncCalls.size }
    
      fun runningCallsCount(): Int = this.withLock { runningAsyncCalls.size + runningSyncCalls.size }
    
      @JvmName("-deprecated_executorService")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

       * indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = 1 << 30;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
      static final int MAX_SEGMENTS = 1 << 16; // slightly conservative
    
      /** Number of (unsynchronized) retries in the containsValue method. */
      static final int CONTAINS_VALUE_RETRIES = 3;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Collections2.java

      private static class PermutationIterator<E> extends AbstractIterator<List<E>> {
        final List<E> list;
        final int[] c;
        final int[] o;
        int j;
    
        PermutationIterator(List<E> list) {
          this.list = new ArrayList<>(list);
          int n = list.size();
          c = new int[n];
          o = new int[n];
          Arrays.fill(c, 0);
          Arrays.fill(o, 1);
          j = Integer.MAX_VALUE;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. docs/distributed/DESIGN.md

    ```go
    // hashes the key returning an integer.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
            if cardinality <= 0 {
                    return -1
            }
            sip := siphash.New(id[:])
            sip.Write([]byte(key))
            return int(sip.Sum64() % uint64(cardinality))
    }
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

        public ReleaseNotesTransformer(Reader original) {
            super(original);
            this.in = new Reader() {
                Reader delegate = null;
    
                @Override
                public int read(char[] cbuf, int off, int len) throws IOException {
                    if (delegate == null) {
                        delegate = transform(original);
                    }
                    return delegate.read(cbuf, off, len);
                }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 03 05:02:20 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        Builder(int initialCapacity) {
          this.entries = new @Nullable Entry[initialCapacity];
          this.size = 0;
          this.entriesUsed = false;
        }
    
        private void ensureCapacity(int minCapacity) {
          if (minCapacity > entries.length) {
            entries =
                Arrays.copyOf(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top