Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 221 for Three (0.02 sec)

  1. doc/go_mem.html

    This is a common idiom for limiting concurrency.
    </p>
    
    <p>
    This program starts a goroutine for every entry in the work list, but the
    goroutines coordinate using the <code>limit</code> channel to ensure
    that at most three are running work functions at a time.
    </p>
    
    <pre>
    var limit = make(chan int, 3)
    
    func main() {
    	for _, w := range work {
    		go func(w func()) {
    			limit &lt;- 1
    			w()
    			&lt;-limit
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Number> unusedC = objects.compound(numbers);
    
        Ordering<Integer> unusedD = numbers.compound(integers);
        Ordering<Integer> unusedE = integers.compound(numbers);
    
        // This works with three levels too (IDEA falsely reports errors as noted
        // below. Both javac and eclipse handle these cases correctly.)
    
        Ordering<Number> unusedF = numbers.compound(objects).compound(objects); // bad IDEA
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        return ImmutableList.copyOf(SORTED_NUMBER_NAMES.subList(i, j));
      }
    
      private static final ImmutableList<String> NUMBER_NAMES =
          ImmutableList.of("one", "two", "three", "four", "five", "six", "seven");
    
      private static final ImmutableList<String> SORTED_NUMBER_NAMES =
          Ordering.<String>natural().immutableSortedCopy(NUMBER_NAMES);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Number> unusedC = objects.compound(numbers);
    
        Ordering<Integer> unusedD = numbers.compound(integers);
        Ordering<Integer> unusedE = integers.compound(numbers);
    
        // This works with three levels too (IDEA falsely reports errors as noted
        // below. Both javac and eclipse handle these cases correctly.)
    
        Ordering<Number> unusedF = numbers.compound(objects).compound(objects); // bad IDEA
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/MediaType.java

      /**
       * Returns {@code true} if this instance falls within the range (as defined by <a
       * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html">the HTTP Accept header</a>) given
       * by the argument according to three criteria:
       *
       * <ol>
       *   <li>The type of the argument is the wildcard or equal to the type of this instance.
       *   <li>The subtype of the argument is the wildcard or equal to the subtype of this instance.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  6. CHANGELOG.md

     *  Breaking: Rename `RecordedRequest.path` to `RecordedRequest.target`. (This property is
        _sometimes_ a path, but it can also be a path and query, or a full URL.)
    
     *  Breaking: Decompose the `RecordedRequest.requestLine` into three properties, `method`, `target`,
        and `version`. This better suits HTTP/2 where the request line had to be synthesized from
        component headers.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  7. cmd/server_test.go

    	responseBody, err = io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	c.Assert(true, bytes.Equal(responseBody, []byte("hello two")))
    
    	// data for new object to be uploaded.
    	buffer3 := bytes.NewReader([]byte("hello three"))
    	objectName = "testObject3"
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    		int64(buffer3.Len()), buffer3, s.accessKey, s.secretKey, s.signer)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  8. doc/go_spec.html

    ellipsis <code>…</code> is also used elsewhere in the spec to informally denote various
    enumerations or code snippets that are not further specified. The character <code>…</code>
    (as opposed to the three characters <code>...</code>) is not a token of the Go
    language.
    </p>
    
    <p>
    A link of the form [<a href="#Language_versions">Go 1.xx</a>] indicates that a described
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 02 23:07:19 UTC 2025
    - 286.5K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/net/MediaType.java

      /**
       * Returns {@code true} if this instance falls within the range (as defined by <a
       * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html">the HTTP Accept header</a>) given
       * by the argument according to three criteria:
       *
       * <ol>
       *   <li>The type of the argument is the wildcard or equal to the type of this instance.
       *   <li>The subtype of the argument is the wildcard or equal to the subtype of this instance.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/LongMath.java

       * {@code x} is {@link Long#MIN_VALUE}, in which case this returns {@link Long#MAX_VALUE}. (Note
       * that {@code Long.MAX_VALUE} is mathematically equal to {@code -Long.MIN_VALUE - 1}.)
       *
       * <p>There are three common APIs for determining the absolute value of a long, all of which
       * behave identically except when passed {@code Long.MIN_VALUE}. Those methods are:
       *
       * <ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 03 21:01:09 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top