Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for minSize (0.07 seconds)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

        }
    
        /**
         * Get a send region from the pool or allocate a new one
         *
         * @param minSize minimum required size
         * @return memory region for sending
         * @throws IOException if allocation fails
         */
        public RdmaMemoryRegion getSendRegion(int minSize) throws IOException {
            if (minSize <= sendBufferSize) {
                RdmaMemoryRegion region = availableSendRegions.poll();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Sets.java

         * SetView}.
         */
        abstract int minSize();
    
        /**
         * Returns the {@link #minSize()} of {@code set} if it is a {@link SetView}, or the exact {@link
         * #size()} of {@code set} otherwise.
         */
        static int minSize(Set<?> set) {
          return set instanceof SetView ? ((SetView<?>) set).minSize() : set.size();
        }
    
        /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/SetViewTest.java

      }
    
      /**
       * Returns a {@link SetView} with a {@link SetView#minSize()} of {@code min} and a {@link
       * SetView#maxSize()} of {@code max}.
       */
      private static SetView<Integer> setSizeRange(int min, int max) {
        checkArgument(min >= 0 && max >= min);
        SetView<Integer> set = difference(setSize(max), setSize(max - min));
        checkState(set.minSize() == min && set.maxSize() == max);
        return set;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  4. docs/smb3-features/05-rdma-smb-direct-design.md

                } catch (IOException e) {
                    log.warn("Failed to pre-allocate receive buffer", e);
                }
            }
        }
        
        public RdmaMemoryRegion getSendRegion(int minSize) throws IOException {
            if (minSize <= sendBufferSize) {
                RdmaMemoryRegion region = availableSendRegions.poll();
                if (region != null) {
                    region.getBuffer().clear();
                    return region;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  5. cmd/admin-router.go

    	adminAPIClientDevExtraTime     = "/speedtest/client/devnull/extratime"
    )
    
    var gzipHandler = func() func(http.Handler) http.HandlerFunc {
    	gz, err := gzhttp.NewWrapper(gzhttp.MinSize(1000), gzhttp.CompressionLevel(gzip.BestSpeed))
    	if err != nil {
    		// Static params, so this is very unlikely.
    		logger.Fatal(err, "Unable to initialize server")
    	}
    	return gz
    }()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                // Calculate relative timing differences
                double maxTime = Math.max(Math.max(timeStart, timeMiddle), timeEnd);
                double minTime = Math.min(Math.min(timeStart, timeMiddle), timeEnd);
                double timingRatio = (maxTime - minTime) / maxTime;
    
                // Timing differences should be minimal (within tolerance)
                assertTrue(timingRatio < TIMING_TOLERANCE,
                        String.format(
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/arch/riscv64.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file encapsulates some of the odd characteristics of the RISCV64
    // instruction set, to minimize its interaction with the core of the
    // assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/riscv"
    	"fmt"
    )
    
    // IsRISCV64AMO reports whether op is an AMO instruction that requires
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Sep 12 08:12:45 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/RegularImmutableSet.java

      @Override
      public int size() {
        return elements.length;
      }
    
      // We're careful to put only E instances into the array in the mainline.
      // (In the backport, we don't need this suppression, but we keep it to minimize diffs.)
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableIterator<E> iterator() {
        return (UnmodifiableIterator<E>) Iterators.forArray(elements);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/arch/loong64.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file encapsulates some of the odd characteristics of the
    // Loong64 (LoongArch64) instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/loong64"
    	"errors"
    	"fmt"
    )
    
    func jumpLoong64(word string) bool {
    	switch word {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 05 17:31:25 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. CLAUDE.md

    }
    
    @AfterClass
    public static void afterClass() {
        runner.close();
        runner.clean();
    }
    ```
    
    ### Testing Best Practices
    
    - Minimize `Thread.sleep()` - use only when absolutely necessary
    - For timestamp tests: use minimal delays (50-100ms)
    - Clean only test-specific indices (not `_all` unless needed)
    - Use `runner.refresh()` after index operations
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top