Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,095 for heapLen (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/lists.go

    			next := it.Next()
    			nextAdder, ok := next.(traits.Adder)
    			if !ok {
    				// Should never happen for type checked CEL programs
    				return types.MaybeNoSuchOverloadErr(next)
    			}
    			if acc != nil {
    				s := acc.Add(next)
    				sum, ok := s.(traits.Adder)
    				if !ok {
    					// Should never happen for type checked CEL programs
    					return types.MaybeNoSuchOverloadErr(s)
    				}
    				acc = sum
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. cmd/xl-storage_unix_test.go

    // returns file mode creation mask.
    func getUmask() int {
    	mask := syscall.Umask(0)
    	syscall.Umask(mask)
    	return mask
    }
    
    // Tests if the directory and file creations happen with proper umask.
    func TestIsValidUmaskVol(t *testing.T) {
    	tmpPath := t.TempDir()
    	testCases := []struct {
    		volName       string
    		expectedUmask int
    	}{
    		{"is-this-valid", getUmask()},
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources/namedresourcesmodel.go

    		if compilation.Error != nil {
    			// Shouldn't happen because of validation.
    			return nil, fmt.Errorf("compile class filter CEL expression: %w", compilation.Error)
    		}
    		c.filter = &compilation
    	}
    	for _, request := range requests {
    		compilation := cel.Compiler.CompileCELExpression(request.Selector, environment.StoredExpressions)
    		if compilation.Error != nil {
    			// Shouldn't happen because of validation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:26:16 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_verify_work.txt

    # Regression test for Issue #62663: we would filter out the toolchain and
    # main modules from the build list incorrectly, leading to the workspace
    # modules being checked for correct sums. Specifically this would happen when
    # the module name sorted after the virtual 'go' version module name because
    # it could not get chopped off when we removed the MainModules.Len() modules
    # at the beginning of the build list and we would remove the go module instead.
    
    go mod verify
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 16:56:35 UTC 2024
    - 724 bytes
    - Viewed (0)
  5. pkg/hbone/util.go

    		if nr > 0 { // before dealing with the read error
    			nw, ew := dst.Write(buf[0:nr])
    			log.Debugf("write %v/%v", nw, ew)
    			if f, ok := dst.(http.Flusher); ok {
    				f.Flush()
    			}
    			if nr != nw { // Should not happen
    				ew = io.ErrShortWrite
    			}
    			if ew != nil {
    				return
    			}
    		}
    		if err != nil {
    			// read is already closed - we need to close out
    			_ = closeWriter(dst)
    			return
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/internal/artifacts/PublishArtifactInternal.java

        static boolean shouldBePublished(PublishArtifact artifact) {
            if (artifact instanceof PublishArtifactInternal) {
                return ((PublishArtifactInternal) artifact).shouldBePublished();
            }
            // This can happen for custom publish artifacts
            return true;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 08 10:59:26 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source.go

    			// Policy for bindings doesn't exist. This can happen if the policy
    			// was deleted before the binding, or the binding was created first.
    			//
    			// Just skip bindings that refer to non-existent policies
    			// If the policy is recreated, the cache will be marked dirty and
    			// this function will run again.
    			continue
    		} else if err != nil {
    			// This should never happen since fetching from a cache should never
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 23:07:34 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/01-pkgsite.yml

        validations:
          required: true
      - type: textarea
        id: actual-behavior
        attributes:
          label: "What did you see happen?"
        validations:
          required: true
      - type: textarea
        id: expected-behavior
        attributes:
          label: "What did you expect to see?"
        validations:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. src/math/rand/default_test.go

    	//
    	// Note: these tests can theoretically fail when using fastrand64
    	// in that it is possible to coincidentally get the same random
    	// number twice. That could happen something like 1 / 2**64 times,
    	// which is rare enough that it may never happen. We don't worry
    	// about that case.
    
    	switch code {
    	case 0:
    		// Call Seed and Uint64 concurrently.
    		wg.Add(goroutines)
    		for i := 0; i < goroutines; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 07 23:39:35 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/transforms/compute_cost.cc

    // within the FuncOp. (Excluding const ops since they're just "data".)
    // We will ignore quant/dequant/requant costs within the Func Op as well,
    // intuition:
    //
    // The assumpution is that quant/dequant/requant will only happen at the begin
    // and the end of the FuncOp (basically the "boundaries" of the subgraph).
    // So we can imagine if multiple "same-inference-typed" graph are presented at
    // the same time, the quant/dequant ops pair can be squashed:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 15:10:02 UTC 2022
    - 4.2K bytes
    - Viewed (0)
Back to top