Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 410 for Max (0.01 seconds)

  1. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * @throws IllegalArgumentException if {@code array} is empty
       */
      public static long max(long... array) {
        checkArgument(array.length > 0);
        long max = flip(array[0]);
        for (int i = 1; i < array.length; i++) {
          long next = flip(array[i]);
          if (next > max) {
            max = next;
          }
        }
        return flip(max);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  2. cmd/server-rlimit.go

    	return currentKernel < kernel.Version(4, 0, 0)
    }
    
    func setMaxResources(ctx serverCtxt) (err error) {
    	// Set the Go runtime max threads threshold to 90% of kernel setting.
    	sysMaxThreads, err := sys.GetMaxThreads()
    	if err == nil {
    		minioMaxThreads := (sysMaxThreads * 90) / 100
    		// Only set max threads if it is greater than the default one
    		if minioMaxThreads > 10000 {
    			debug.SetMaxThreads(minioMaxThreads)
    		}
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jul 02 15:09:36 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  3. .teamcity/src/test/kotlin/BuildTypeTest.kt

            val gradleStep = CompileAll(buildModel, buildModel.stages[0]).steps.getGradleStep(GRADLE_RUNNER_STEP_NAME)
            assertEquals(
                listOf(
                    "-Dorg.gradle.workers.max=%maxParallelForks%",
                    "-PmaxParallelForks=%maxParallelForks%",
                    "-Dorg.gradle.internal.plugins.portal.url.override=%gradle.plugins.portal.url%",
                    "-Dscan.value.tcPipeline=master",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 25 20:21:47 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertEquals("", e.escape(""));
        assertEquals("safestring", e.escape("safestring"));
        assertEquals("embedded%00null", e.escape("embedded\0null"));
        assertEquals("max%EF%BF%BFchar", e.escape("max\uffffchar"));
      }
    
      // Helper to assert common expected behaviour of uri escapers.
      static void assertBasicUrlEscaper(UnicodeEscaper e) {
        assertBasicUrlEscaperExceptPercent(e);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  5. cmd/os_other.go

    	d, err := Open(dirPath)
    	if err != nil {
    		if osErrToFileErr(err) == errFileNotFound {
    			return nil
    		}
    		return osErrToFileErr(err)
    	}
    	defer d.Close()
    
    	maxEntries := 1000
    	for {
    		// Read up to max number of entries.
    		fis, err := d.Readdir(maxEntries)
    		if err != nil {
    			if err == io.EOF {
    				break
    			}
    			err = osErrToFileErr(err)
    			if err == errFileNotFound {
    				return nil
    			}
    			return err
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Click Count (0)
  6. src/bufio/scan.go

    //
    // The maximum token size must be less than the larger of max and cap(buf).
    // If max <= cap(buf), [Scanner.Scan] will use this buffer only and do no allocation.
    //
    // By default, [Scanner.Scan] uses an internal buffer and sets the
    // maximum token size to [MaxScanTokenSize].
    //
    // Buffer panics if it is called after scanning has started.
    func (s *Scanner) Buffer(buf []byte, max int) {
    	if s.scanCalled {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed May 21 18:05:26 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/math/StatsTesting.java

          assertThat(actualStats.populationVariance()).isEqualTo(0.0);
          assertThat(actualStats.min()).isWithin(ALLOWED_ERROR).of(expectedStats.min());
          assertThat(actualStats.max()).isWithin(ALLOWED_ERROR).of(expectedStats.max());
        } else {
          assertThat(actualStats.mean()).isWithin(ALLOWED_ERROR).of(expectedStats.mean());
          assertThat(actualStats.populationVariance())
              .isWithin(ALLOWED_ERROR)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 23.8K bytes
    - Click Count (0)
  8. .teamcity/src/test/kotlin/PerformanceTestBuildTypeTest.kt

                    "\"-Porg.gradle.performance.db.username=%performance.db.username%\"",
                    "-DenableTestDistribution=%enableTestDistribution%",
                    "-Dorg.gradle.workers.max=%maxParallelForks%",
                    "-PmaxParallelForks=%maxParallelForks%",
                    PLUGINS_PORTAL_URL_OVERRIDE,
                    "-Dscan.value.tcPipeline=master",
                    "-s",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Sep 18 12:22:32 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  9. internal/s3select/progress.go

    	"github.com/klauspost/compress/zstd"
    	gzip "github.com/klauspost/pgzip"
    	"github.com/pierrec/lz4/v4"
    )
    
    type countUpReader struct {
    	reader    io.Reader
    	bytesRead int64
    }
    
    // Max bzip2 concurrency across calls. 50% of GOMAXPROCS.
    var bz2Limiter = pbzip2.CreateConcurrencyPool((runtime.GOMAXPROCS(0) + 1) / 2)
    
    func (r *countUpReader) Read(p []byte) (n int, err error) {
    	n, err = r.reader.Read(p)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 22 00:33:43 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/CompactHashing.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.primitives.Ints;
    import java.util.Arrays;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top