Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for 4096 (0.06 sec)

  1. android/guava-tests/test/com/google/common/io/IoTestCase.java

      private static void copy(URL url, File file) throws IOException {
        InputStream in = url.openStream();
        try {
          OutputStream out = new FileOutputStream(file);
          try {
            byte[] buf = new byte[4096];
            for (int read = in.read(buf); read != -1; read = in.read(buf)) {
              out.write(buf, 0, read);
            }
          } finally {
            out.close();
          }
        } finally {
          in.close();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/CurlRequest.java

                try (BufferedInputStream bis = new BufferedInputStream(handler.get());
                        ContentOutputStream dfos = new ContentOutputStream(threshold, Curl.tmpDir)) {
                    final byte[] bytes = new byte[4096];
                    int length = bis.read(bytes);
                    while (length != -1) {
                        if (length != 0) {
                            final int len = length;
                            logger.fine(() -> {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

            public String getCookieSearchParameterKeys() {
                return "q,lang";
            }
    
            @Override
            public Integer getCookieSearchParameterMaxLengthAsInteger() {
                return 4096;
            }
    
            @Override
            public String getCookieSearchParameterName() {
                return "FESS_SEARCH_PARAM";
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/CopyUtil.java

    public abstract class CopyUtil {
    
        /**
         * Do not instantiate.
         */
        protected CopyUtil() {
        }
    
        /** Buffer size used for copying. */
        protected static final int DEFAULT_BUF_SIZE = 4096;
    
        // ////////////////////////////////////////////////////////////////
        // from InputStream to OutputStream
        //
        /**
         * Copies from an input stream to an output stream.
         * <p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

       */
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun readTimeoutMoreGranularThanBodySize(protocol: Protocol) {
        setUp(protocol)
        val body = CharArray(4096) // 4KiB to read.
        Arrays.fill(body, 'y')
        server.enqueue(
          MockResponse
            .Builder()
            .body(String(body))
            .throttleBody(1024, 1, TimeUnit.SECONDS) // Slow connection 1KiB/second.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  6. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

                  info: UrlResponseInfo,
                ) {
                  println("onResponseStarted ${info.headers.asMap} ${info.negotiatedProtocol}")
                  request.read(ByteBuffer.allocateDirect(4096 * 8))
                }
    
                override fun onReadCompleted(
                  request: UrlRequest,
                  info: UrlResponseInfo,
                  byteBuffer: ByteBuffer,
                ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/SettingsTest.kt

        assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE)
      }
    
      @Test
      fun setFields() {
        val settings = Settings()
        settings[Settings.HEADER_TABLE_SIZE] = 8096
        assertThat(settings.headerTableSize).isEqualTo(8096)
        assertThat(settings.getEnablePush(true)).isTrue()
        settings[Settings.ENABLE_PUSH] = 1
        assertThat(settings.getEnablePush(false)).isTrue()
        settings.clear()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                @Override
                public Long getTimeAdjustTimeMillisAsLong() {
                    return 4096L; // Decimal equivalent
                }
            };
    
            FessTimeResourceProvider specialProvider = new FessTimeResourceProvider(specialConfig);
            assertNotNull(specialProvider);
            assertEquals(Long.valueOf(4096L), specialConfig.getTimeAdjustTimeMillisAsLong());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

              .put(1000, 0x433109b33e13e6edL)
              .put(800, 0x5f2f123bfc815f81L)
              .put(640, 0x6396fc6a67293cf4L)
              .put(512, 0x45c01b4934ddbbbeL)
              .put(409, 0xfcd19b617551db45L)
              .put(327, 0x4eee69e12854871eL)
              .put(261, 0xab753446a3bbd532L)
              .put(208, 0x54242fe06a291c3fL)
              .put(166, 0x4f7acff7703a635bL)
              .put(132, 0xa784bd0a1f22cc7fL)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

    object Hpack {
      private const val PREFIX_4_BITS = 0x0f
      private const val PREFIX_5_BITS = 0x1f
      private const val PREFIX_6_BITS = 0x3f
      private const val PREFIX_7_BITS = 0x7f
    
      private const val SETTINGS_HEADER_TABLE_SIZE = 4_096
    
      /**
       * The decoder has ultimate control of the maximum size of the dynamic table but we can choose
       * to use less. We'll put a cap at 16K. This is arbitrary but should be enough for most purposes.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top