Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 392 for isSmall (0.05 seconds)

  1. 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)
  2. cmd/data-scanner.go

    // compacted until the limit is reached.
    //
    // This ensures that any branch will never contain an unreasonable amount of other branches,
    // and also that small branches with few objects don't take up unreasonable amounts of space.
    // This keeps the cache size at a reasonable size for all buckets.
    //
    // Whenever a branch is scanned, it is assumed that it will be un-compacted
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            return "/".equals(path);
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
    
        private HtmlResponse asListHtml() {
            return asHtml(path_AdminDesign_AdminDesignJsp).useForm(DesignForm.class);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. cmd/admin-handlers-users.go

    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	users := r.Form["users"]
    	isAll := r.Form.Get("all") == "true"
    	selfOnly := !isAll && len(users) == 0
    
    	if isAll && len(users) > 0 {
    		// This should be checked on client side, so return generic error
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
  8. configure.py

              all_valid = False
            else:
              ver = int(sm_compute_match.group(2))
              if ver < 30:
                print(
                    'ERROR: TensorFlow only supports small CUDA compute'
                    ' capabilities of sm_30 and higher. Please re-specify the list'
                    ' of compute capabilities excluding version %s.' % ver)
                all_valid = False
              if ver < 35:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Dec 19 16:32:04 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top