Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 109 for 4096 (0.16 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HuffmanTest.kt

        val s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
        for (i in s.indices) {
          assertRoundTrip(s.substring(0, i).encodeUtf8())
        }
        val random = Random(123456789L)
        val buf = ByteArray(4096)
        random.nextBytes(buf)
        assertRoundTrip(buf.toByteString())
      }
    
      private fun assertRoundTrip(data: ByteString) {
        val encodeBuffer = Buffer()
        encode(data, encodeBuffer)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java

    /**
     * Benchmark for {@code LocalCache.Segment.expand()}.
     *
     * @author Charles Fry
     */
    public class SegmentBenchmark {
    
      @Param({"16", "32", "64", "128", "256", "512", "1024", "2048", "4096", "8192"})
      int capacity;
    
      private Segment<Object, Object> segment;
    
      @BeforeExperiment
      void setUp() {
        LocalCache<Object, Object> cache =
            new LocalCache<>(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 23 16:59:39 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

    import java.util.Random;
    
    /**
     * Tests the speed of iteration of different iteration methods for collections.
     *
     * @author David Richter
     */
    public class MultisetIteratorBenchmark {
      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
      LinkedHashMultiset<Object> linkedHashMultiset;
      HashMultiset<Object> hashMultiset;
    
      // TreeMultiset requires a Comparable element.
      TreeMultiset<Integer> treeMultiset;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.6K bytes
    - Viewed (0)
  4. cmd/sts-datatypes.go

    	//
    	// Note: The size of the security token that STS APIs return is not fixed. We
    	// strongly recommend that you make no assumptions about the maximum size. As
    	// of this writing, the typical size is less than 4096 bytes, but that can vary.
    	// Also, future updates to AWS might require larger sizes.
    	Credentials auth.Credentials `xml:",omitempty"`
    
    	// A percentage value that indicates the size of the policy in packed form.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  5. .github/workflows/multipart/nginx-site2.conf

    user  nginx;
    worker_processes  auto;
    
    error_log  /var/log/nginx/error.log warn;
    pid        /var/run/nginx.pid;
    
    events {
        worker_connections  4096;
    }
    
    http {
        include       /etc/nginx/mime.types;
        default_type  application/octet-stream;
    
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 30 10:13:56 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/riscv64.s

    	ADDI	$-2049, X5				// 938202c09382f2bf
    	ADDI	$4094, X5				// 9382f27f9382f27f
    	ADDI	$-4096, X5				// 9382028093820280
    	ADDI	$4095, X5				// b71f00009b8fffffb382f201
    	ADDI	$-4097, X5				// b7ffffff9b8fffffb382f201
    	ADDI	$2047, X5, X6				// 1383f27f
    	ADDI	$-2048, X5, X6				// 13830280
    	ADDI	$2048, X5, X6				// 1383024013030340
    	ADDI	$-2049, X5, X6				// 138302c01303f3bf
    	ADDI	$4094, X5, X6				// 1383f27f1303f37f
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 22 04:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/CurlResponse.java

            }
        }
    
        public <T> T getContent(final Function<CurlResponse, T> parser) {
            return parser.apply(this);
        }
    
        public String getContentAsString() {
            final byte[] bytes = new byte[4096];
            try (BufferedInputStream bis = new BufferedInputStream(getContentAsStream());
                    ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                int length = bis.read(bytes);
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 4K bytes
    - Viewed (0)
  8. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

        val message = formatMessage(record)
    
        val time = Instant.ofEpochMilli(record.millis).atZone(offset)
    
        return if (record.thrown != null) {
          val sw = StringWriter(4096)
          val pw = PrintWriter(sw)
          record.thrown.printStackTrace(pw)
          String.format("%s\t%s%n%s%n", time.format(d), message, sw.toString())
        } else {
          String.format("%s\t%s%n", time.format(d), message)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        hpackWriter = Hpack.Writer(4096, false, bytesOut)
      }
    
      /**
       * Variable-length quantity special cases strings which are longer than 127 bytes.  Values such as
       * cookies can be 4KiB, and should be possible to send.
       *
       *  http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#section-5.2
       */
      @Test
      fun largeHeaderValue() {
        val value = CharArray(4096)
        Arrays.fill(value, '!')
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  10. .github/workflows/multipart/nginx-site1.conf

    user  nginx;
    worker_processes  auto;
    
    error_log  /var/log/nginx/error.log warn;
    pid        /var/run/nginx.pid;
    
    events {
        worker_connections  4096;
    }
    
    http {
        include       /etc/nginx/mime.types;
        default_type  application/octet-stream;
    
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 30 10:13:56 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top