Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 3,731 for qint (0.02 sec)

  1. internal/bucket/bandwidth/reader.go

    			tokens = b
    		}
    	} else { // all tokens go towards payload
    		need = int(math.Min(float64(b), float64(need)))
    		tokens = need
    	}
    	// reduce tokens requested according to availability
    	av := int(r.throttle.Tokens())
    	if av < tokens && av > 0 {
    		tokens = av
    		need = int(math.Min(float64(tokens), float64(need)))
    	}
    	err = r.throttle.WaitN(r.ctx, tokens)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 14:57:31 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/BufferCacheImpl.java

        private final int bufferSize;
        private int freeBuffers = 0;
    
    
        /**
         * 
         * @param cfg
         */
        public BufferCacheImpl ( Configuration cfg ) {
            this(cfg.getBufferCacheSize(), cfg.getMaximumBufferSize());
        }
    
    
        /**
         * @param maxBuffers
         * @param maxSize
         * 
         */
        public BufferCacheImpl ( int maxBuffers, int maxSize ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 24 11:40:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RegularImmutableAsList.java

      @CheckForNull
      Object[] internalArray() {
        return delegateList.internalArray();
      }
    
      @Override
      int internalArrayStart() {
        return delegateList.internalArrayStart();
      }
    
      @Override
      int internalArrayEnd() {
        return delegateList.internalArrayEnd();
      }
    
      @Override
      public E get(int index) {
        return delegateList.get(index);
      }
    
      // redeclare to help optimizers with b/310253115
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/LruHashMap.java

         */
        public LruHashMap(final int limitSize) {
            this(limitSize, DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR);
        }
    
        /**
         * {@link LruHashMap}を作成します。
         *
         * @param limitSize
         *            エントリ数の上限
         * @param initialCapacity
         *            初期容量
         * @param loadFactor
         *            負荷係数
         */
        public LruHashMap(final int limitSize, final int initialCapacity, final float loadFactor) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

      }
    
      @SuppressWarnings("deprecation")
      public void testEncodedStringInputs() {
        Random rng = new Random(0);
        for (int z = 0; z < 100; z++) {
          int[] codePoints = new int[rng.nextInt(8)];
          for (int i = 0; i < codePoints.length; i++) {
            do {
              codePoints[i] = rng.nextInt(0x800);
            } while (!Character.isValidCodePoint(codePoints[i])
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/AbstractStreamingHasher.java

      private final ByteBuffer buffer;
    
      /** Number of bytes to be filled before process() invocation(s). */
      private final int bufferSize;
    
      /** Number of bytes processed per process() invocation. */
      private final int chunkSize;
    
      /**
       * Constructor for use by subclasses. This hasher instance will process chunks of the specified
       * size.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/CopyUtil.java

         * @param out
         *            出力ストリーム
         * @return コピーしたバイト数
         */
        protected static int copyInternal(final InputStream in, final OutputStream out) {
            try {
                final byte[] buf = new byte[DEFAULT_BUF_SIZE];
                int len;
                int amount = 0;
                while ((len = in.read(buf)) != -1) {
                    out.write(buf, 0, len);
                    amount += len;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       * @param escaper the non-null escaper to test
       * @param expected the expected output string
       * @param cp the Unicode code point to escape
       */
      public static void assertEscaping(UnicodeEscaper escaper, String expected, int cp) {
    
        String escaped = computeReplacement(escaper, cp);
        Assert.assertNotNull(escaped);
        Assert.assertEquals(expected, escaped);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       * @param escaper the non-null escaper to test
       * @param expected the expected output string
       * @param cp the Unicode code point to escape
       */
      public static void assertEscaping(UnicodeEscaper escaper, String expected, int cp) {
    
        String escaped = computeReplacement(escaper, cp);
        Assert.assertNotNull(escaped);
        Assert.assertEquals(expected, escaped);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LongAdder.java

       *
       * @return the sum
       */
      @Override
      public long longValue() {
        return sum();
      }
    
      /** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */
      @Override
      public int intValue() {
        return (int) sum();
      }
    
      /** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */
      @Override
      public float floatValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
Back to top