Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 5,923 for Fits (0.09 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/filters/warning.go

    		textRuneLength = truncateItemRunes
    	}
    
    	// compute the header
    	header, err := net.NewWarningHeader(299, agent, text)
    	if err != nil {
    		return
    	}
    
    	// if this fits within our limit, or we're already truncating, write and return
    	if r.written+textRuneLength <= truncateAtTotalRunes || r.truncating {
    		r.written += textRuneLength
    		r.writer.Header().Add("Warning", header)
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 01 16:14:06 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
       * binomial(biggestBinomials[k], k) fits in a long, but not
       * binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
        3810779,
        121977,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/encode.go

    		// use 0x7e00.
    		NaNConvert: cbor.NaNConvert7e00,
    		InfConvert: cbor.InfConvertFloat16,
    
    		// Prefer encoding math/big.Int to one of the 64-bit integer types if it fits. When
    		// later decoded into Unstructured, the set of allowable concrete numeric types is
    		// limited to int64 and float64, so the distinction between big integer and integer
    		// can't be preserved.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 15:31:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        USING_DECODER_WITH_SIZE_HINT {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            Optional<Long> size = byteSource.sizeIfKnown();
            // if we know the size and it fits in an int
            if (size.isPresent() && size.get().longValue() == size.get().intValue()) {
              // otherwise try to presize a StringBuilder
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  5. src/go/internal/gcimporter/support.go

    	panic(fmt.Sprintf(format, args...))
    }
    
    // deltaNewFile is a magic line delta offset indicating a new file.
    // We use -64 because it is rare; see issue 20080 and CL 41619.
    // -64 is the smallest int that fits in a single byte as a varint.
    const deltaNewFile = -64
    
    // Synthesize a token.Pos
    type fakeFileSet struct {
    	fset  *token.FileSet
    	files map[string]*fileInfo
    }
    
    type fileInfo struct {
    	file     *token.File
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/MatchesSignatureGeneratingSignatureTreeVisitor.java

                    CodeBlock.of("$2L == null || $1T.class.isAssignableFrom($2L)", entryChildType.box(), argExpr);
            // Vararg fits here, too:
            result.beginControlFlow("if ($L)", matchExpr);
            visit(child, childArgCount);
            result.endControlFlow();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. src/encoding/json/bench_test.go

    			}
    			if _, err := Marshal(dummy); err == nil {
    				b.Fatal("Marshal error: got nil, want non-nil")
    			}
    		}
    	}
    }
    
    func BenchmarkMarshalBytes(b *testing.B) {
    	b.ReportAllocs()
    	// 32 fits within encodeState.scratch.
    	b.Run("32", benchMarshalBytes(32))
    	// 256 doesn't fit in encodeState.scratch, but is small enough to
    	// allocate and avoid the slower base64.NewEncoder.
    	b.Run("256", benchMarshalBytes(256))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:00:17 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. pkg/scheduler/eventhandlers.go

    		if !includeAllFailures {
    			return admissionResults
    		}
    	}
    	if !nodename.Fits(pod, nodeInfo) {
    		admissionResults = append(admissionResults, AdmissionResult{Name: nodename.Name, Reason: nodename.ErrReason})
    		if !includeAllFailures {
    			return admissionResults
    		}
    	}
    	if !nodeports.Fits(pod, nodeInfo) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:04 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/types.go

    	ServiceAccountName string
    
    	// NodeName is a request to schedule this carp onto a specific node.  If it is non-empty,
    	// the scheduler simply schedules this carp onto that node, assuming that it fits resource
    	// requirements.
    	// +optional
    	NodeName string
    	// Specifies the hostname of the Carp.
    	// If not specified, the carp's hostname will be set to a system-defined value.
    	// +optional
    	Hostname string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 03 06:34:52 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  10. src/strconv/itoa.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package strconv
    
    import "math/bits"
    
    const fastSmalls = true // enable fast path for small integers
    
    // FormatUint returns the string representation of i in the given base,
    // for 2 <= base <= 36. The result uses the lower-case letters 'a' to 'z'
    // for digit values >= 10.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top