Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 390 for SMALL (0.09 seconds)

  1. android/guava/src/com/google/common/io/ByteStreams.java

        // as their length. These files are very small, so it's wasteful to allocate an 8KB buffer.
        int initialBufferSize = min(BUFFER_SIZE, max(128, Integer.highestOneBit(totalLen) * 2));
        // Starting with an 8k buffer, double the size of each successive buffer. Smaller buffers
        // quadruple in size until they reach 8k, to minimize the number of small reads for longer
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

      /**
       * Read 100 MiB of 'a' chars. This was really slow due to a performance bug in [MultipartReader],
       * and will be really slow if we regress the fix for that.
       */
      @Test
      fun `reading a large part with small byteCount`() {
        val multipartBody =
          MultipartBody
            .Builder("foo")
            .addPart(
              headersOf("header-name", "header-value"),
              object : RequestBody() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  3. internal/ioutil/ioutil.go

    func (s *SkipReader) Read(p []byte) (int, error) {
    	l := int64(len(p))
    	if l == 0 {
    		return 0, nil
    	}
    	if s.skipCount > 0 {
    		tmp := p
    		if s.skipCount > l && l < SmallBlock {
    			// We may get a very small buffer, so we grab a temporary buffer.
    			bufp := ODirectPoolSmall.Get()
    			tmp = *bufp
    			defer ODirectPoolSmall.Put(bufp)
    			l = int64(len(tmp))
    		}
    		for s.skipCount > 0 {
    			if l > s.skipCount {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                return entity;
            });
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verify the CRUD mode.
         * @param crudMode The CRUD mode.
         * @param expectedMode The expected mode.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            // Due to synchronized method, only one thread should reload
            // The count might be 2 (one initial + one reload) or slightly higher due to timing
            assertTrue(loadCount[0] <= 3, "Load count should be small due to synchronization");
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

                return entity;
            });
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verify the CRUD mode.
         * @param crudMode The CRUD mode.
         * @param expectedMode The expected mode.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        private String getCsvEncoding() {
            return fessConfig.getCsvFileEncoding();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

                    if (buffer == null || buffer.length < bufferIndex + 4) {
                        throw new SMBProtocolDecodingException("Buffer too small");
                    }
                    return 4;
                }
    
                @Override
                public int encode(byte[] dst, int dstIndex) {
                    return 4;
                }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            }
    
            @Test
            @DisplayName("Should reject when signature field exceeds buffer size in sign method")
            void testSignSignatureExceedsBuffer() {
                byte[] data = new byte[50]; // Too small for signature field
                assertThrows(IllegalArgumentException.class, () -> digest.sign(data, 0, 50, request, response),
                        "Should throw IllegalArgumentException when signature field exceeds buffer");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

            // Will fail when executed due to null user, but scheduling should succeed
            try {
                method.invoke(authenticator, null, initialGroups, initialRoles, groupIds);
                // Small wait to allow scheduled task to start
                Thread.sleep(100);
            } catch (Exception e) {
                // May throw due to null user when task executes, which is expected
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
Back to Top