Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/asm/internal/arch/arm64.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 ARM64
    // instruction set, to minimize its interaction with the core of the
    // assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/arm64"
    	"errors"
    )
    
    var arm64LS = map[string]uint8{
    	"P": arm64.C_XPOST,
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Oct 16 00:35:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ...and **FastAPI** will know what to do.
    
    /// tip
    
    If that seems more confusing than helpful, disregard it, you don't *need* it.
    
    It is just a shortcut. Because **FastAPI** cares about helping you minimize code repetition.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/math/PairedStatsAccumulator.java

       *
       * <p>The corresponding root-mean-square error in {@code x} as a function of {@code y} is a
       * fraction {@code sqrt(1/(R*R) - 1)} of the population standard deviation of {@code x}. This fit
       * does not normally minimize that error: to do that, you should swap the roles of {@code x} and
       * {@code y}.
       *
       * <h3>Non-finite values</h3>
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/util/concurrent/Striped.java

      }
    
      private static final class PaddedLock extends ReentrantLock {
        /*
         * Padding from 40 into 64 bytes, same size as cache line. Might be beneficial to add a fourth
         * long here, to minimize chance of interference between consecutive locks, but I couldn't
         * observe any benefit from that.
         */
        long unused1;
        long unused2;
        long unused3;
    
        PaddedLock() {
          super(false);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
Back to Top