Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 2,672 for int3 (0.04 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                                + "'. Value must be positive.");
                    }
    
                    int procs = Runtime.getRuntime().availableProcessors();
                    int threads = (int) (coreMultiplier * procs);
                    return threads == 0 ? 1 : threads;
                } else {
                    int threads = Integer.parseInt(threadConfiguration);
                    if (threads <= 0) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  2. fastapi/applications.py

            status_code: Optional[int] = None,
            tags: Optional[List[Union[str, Enum]]] = None,
            dependencies: Optional[Sequence[Depends]] = None,
            summary: Optional[str] = None,
            description: Optional[str] = None,
            response_description: str = "Successful Response",
            responses: Optional[Dict[Union[int, str], Dict[str, Any]]] = None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

       */
      public static int consistentHash(long input, int buckets) {
        checkArgument(buckets > 0, "buckets must be positive: %s", buckets);
        LinearCongruentialGenerator generator = new LinearCongruentialGenerator(input);
        int candidate = 0;
        int next;
    
        // Jump from bucket to bucket until we go out of range
        while (true) {
          next = (int) ((candidate + 1) / generator.nextDouble());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Streams.java

        }
        class Splitr extends MapWithIndexSpliterator<Spliterator.OfInt, R, Splitr>
            implements IntConsumer, Spliterator<R> {
          int holder;
    
          Splitr(Spliterator.OfInt splitr, long index) {
            super(splitr, index);
          }
    
          @Override
          public void accept(int t) {
            this.holder = t;
          }
    
          @Override
          public boolean tryAdvance(Consumer<? super R> action) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        }
      }
    
      public void testCrc32cStrideTable() {
        int next = CRC32C_GENERATOR_FLIPPED;
        for (int i = 0; i < 12; i++) { // for 3 ints = 12 bytes in between each stride window
          next = (next >>> 8) ^ Crc32cHashFunction.Crc32cHasher.BYTE_TABLE[next & 0xFF];
        }
        int[][] expected = new int[4][256];
        for (int b = 0; b < 4; ++b) {
          for (int bit = 128; bit != 0; bit >>= 1) {
            expected[b][bit] = next;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. cmd/bitrot-streaming.go

    )
    
    // Calculates bitrot in chunks and writes the hash into the stream.
    type streamingBitrotWriter struct {
    	iow          io.WriteCloser
    	closeWithErr func(err error)
    	h            hash.Hash
    	shardSize    int64
    	canClose     *sync.WaitGroup
    	byteBuf      []byte
    }
    
    func (b *streamingBitrotWriter) Write(p []byte) (int, error) {
    	if len(p) == 0 {
    		return 0, nil
    	}
    	b.h.Reset()
    	b.h.Write(p)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 12:20:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. internal/kms/context.go

    			default:
    				// This encodes bytes < 0x20 except for \t, \n and \r.
    				// If escapeHTML is set, it also escapes <, >, and &
    				// because they can lead to security holes when
    				// user-controlled strings are rendered into JSON
    				// and served to some browsers.
    				dst.WriteString(`u00`)
    				dst.WriteByte(hexTable[b>>4])
    				dst.WriteByte(hexTable[b&0xF])
    			}
    			i++
    			start = i
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    In both cases, it will have:
    
    * An optional `q` query parameter that is a `str`.
    * A `skip` query parameter that is an `int`, with a default of `0`.
    * A `limit` query parameter that is an `int`, with a default of `100`.
    
    In both cases the data will be converted, validated, documented on the OpenAPI schema, etc.
    
    ## Use it
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MultimapBuilder.java

       * multimap, save that if all values associated with a key are removed and then the key is added
       * back into the multimap, that key will come last in the key iteration order.
       */
      public static MultimapBuilderWithKeys<@Nullable Object> linkedHashKeys(int expectedKeys) {
        checkNonnegative(expectedKeys, "expectedKeys");
        return new MultimapBuilderWithKeys<@Nullable Object>() {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          }
        }
      }
    
      /**
       * This blocking queue hooks into a fake clock rather than using regular JVM timing for functions
       * like [poll]. It is only usable within task faker tasks.
       */
      private inner class TaskFakerBlockingQueue<T>(
        val delegate: BlockingQueue<T>,
      ) : AbstractQueue<T>(), BlockingQueue<T> {
        override val size: Int = delegate.size
    
        private var editCount = 0
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top