Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 156 for efficiently (0.07 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

            }
          }
        }
    
      private fun gzip(data: ByteArray): Buffer {
        val buffer = Buffer()
        GzipSink(buffer).buffer().write(data).close()
        return buffer
      }
    
      /** Create a sufficiently large header set to overflow INITIAL_MAX_FRAME_SIZE bytes.  */
      private fun largeHeaders(): List<Header> {
        val nameValues = arrayOfNulls<String>(32)
        val chars = CharArray(512)
        var i = 0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

     *     .url("http://publicobject.com/helloworld.txt")
     *     .build();
     * ```
     *
     * If it is only necessary to force a cached response to be validated by the server, use the more
     * efficient `max-age=0` directive instead:
     *
     * ```java
     * Request request = new Request.Builder()
     *     .cacheControl(new CacheControl.Builder()
     *         .maxAge(0, TimeUnit.SECONDS)
     *         .build())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multiset.java

      }
    
      /**
       * Runs the specified action for each distinct element in this multiset, and the number of
       * occurrences of that element. For some {@code Multiset} implementations, this may be more
       * efficient than iterating over the {@link #entrySet()} either explicitly or with {@code
       * entrySet().forEach(action)}.
       *
       * @since 21.0
       */
      default void forEachEntry(ObjIntConsumer<? super E> action) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  4. docs/smb3-features/06-witness-protocol-design.md

                processNotificationBatch(batch);
            }
        }
        
        private void processNotificationBatch(List<WitnessNotification> notifications) {
            // Process multiple notifications together for efficiency
            for (WitnessNotification notification : notifications) {
                // Handle notification
            }
        }
    }
    ```
    
    ## 10. Security Considerations
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  5. src/bytes/buffer_test.go

    		b = strconv.AppendInt(b, int64(i), 10)
    		want = strconv.AppendInt(want, int64(i), 10)
    		got.Write(b)
    	}
    	if !Equal(got.Bytes(), want) {
    		t.Fatalf("Bytes() = %q, want %q", &got, want)
    	}
    
    	// With a sufficiently sized buffer, there should be no allocations.
    	n := testing.AllocsPerRun(100, func() {
    		got.Reset()
    		for i := 0; i < 1000; i++ {
    			b := got.AvailableBuffer()
    			b = strconv.AppendInt(b, int64(i), 10)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals("", is('a').retainFrom(""));
      }
    
      public void testPrecomputedOptimizations() {
        // These are testing behavior that's never promised by the API.
        // Some matchers are so efficient that it is a waste of effort to
        // build a precomputed version.
        CharMatcher m1 = is('x');
        assertSame(m1, m1.precomputed());
        assertEquals(m1.toString(), m1.precomputed().toString());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

            }
            return true; // that.size() == this.size()
          }
        }
    
        /**
         * Returns a lower bound for {@link #size()} based on the sizes of the backing sets.
         *
         * <p>This is more efficient than {@link #size()}, which iterates over the entire {@link
         * SetView}.
         */
        abstract int minSize();
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeMultiset.java

      }
    
      /**
       * Creates an empty multiset containing the given initial elements, sorted according to the
       * elements' natural order.
       *
       * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
       *
       * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals("", is('a').retainFrom(""));
      }
    
      public void testPrecomputedOptimizations() {
        // These are testing behavior that's never promised by the API.
        // Some matchers are so efficient that it is a waste of effort to
        // build a precomputed version.
        CharMatcher m1 = is('x');
        assertSame(m1, m1.precomputed());
        assertEquals(m1.toString(), m1.precomputed().toString());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Quantiles.java

       * is as close as possible to the center of the range [{@code from}, {@code to}]. Choosing the
       * value closest to the center of the range first is the most efficient strategy because it
       * minimizes the size of the subranges from which the remaining selections must be done.
       */
      private static int chooseNextSelection(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
Back to top