Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 180 for zero (0.18 sec)

  1. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // Using Zero instead of LoweredZero allows the
    // target address to be folded where possible.
    (Zero [0] _ mem) => mem
    (Zero [1] destptr mem) => (MOVBstorezero destptr mem)
    (Zero [2] destptr mem) =>
    	(MOVHstorezero destptr mem)
    (Zero [3] destptr mem) =>
    	(MOVBstorezero [2] destptr
    		(MOVHstorezero destptr mem))
    (Zero [4] destptr mem) =>
    	(MOVWstorezero destptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/math_grad.cc

      // = group_size
      auto input_shape = Shape(scope, op.input(0));
      auto output_shape = Shape(scope, op.output(0));
      auto zero = Const(scope, 0);
      auto group_size = SafeDivHelper(scope, Prod(scope, input_shape, zero),
                                      Prod(scope, output_shape, zero));
    
      // propagate sum_grad/group_size
      grad_outputs->push_back(
          Div(scope, sum_grad, Cast(scope, group_size, sum_grad.type())));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/prove.go

    	// TODO: check if there are cases that matter where we have
    	// more than one len(s) for a slice. We could keep a list if necessary.
    	lens map[ID]*Value
    	caps map[ID]*Value
    
    	// zero is a zero-valued constant
    	zero *Value
    }
    
    // checkpointFact is an invalid value used for checkpointing
    // and restoring factsTable.
    var checkpointFact = fact{}
    var checkpointBound = limitFact{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  4. pkg/volume/testing/testing.go

    // a zero AttachCallCount. Otherwise it returns an error.
    func VerifyZeroAttachCalls(fakeVolumePlugin *FakeVolumePlugin) error {
    	for _, attacher := range fakeVolumePlugin.GetAttachers() {
    		actualCallCount := attacher.GetAttachCallCount()
    		if actualCallCount != 0 {
    			return fmt.Errorf(
    				"At least one attacher has non-zero AttachCallCount: <%v>.",
    				actualCallCount)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    // Lowering Zero instructions
    (Zero [0] _ mem) => mem
    (Zero [1] destptr mem) => (MOVBstoreconst [makeValAndOff(0,0)] destptr mem)
    (Zero [2] destptr mem) => (MOVWstoreconst [makeValAndOff(0,0)] destptr mem)
    (Zero [4] destptr mem) => (MOVLstoreconst [makeValAndOff(0,0)] destptr mem)
    (Zero [8] destptr mem) => (MOVQstoreconst [makeValAndOff(0,0)] destptr mem)
    
    (Zero [3] destptr mem) =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  6. src/time/time_test.go

    	}
    }
    
    func TestReadFileLimit(t *testing.T) {
    	const zero = "/dev/zero"
    	if _, err := os.Stat(zero); err != nil {
    		t.Skip("skipping test without a /dev/zero")
    	}
    	_, err := ReadFile(zero)
    	if err == nil || !strings.Contains(err.Error(), "is too large") {
    		t.Errorf("readFile(%q) error = %v; want error containing 'is too large'", zero, err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  7. src/net/netip/netip_test.go

    			wantErr: `ParseAddr("010.000.015.001"): IPv4 field has octet with leading zero`,
    		},
    		// IPv4 address with a silly amount of leading zeros.
    		{
    			in:      "000001.00000002.00000003.000000004",
    			wantErr: `ParseAddr("000001.00000002.00000003.000000004"): IPv4 field has octet with leading zero`,
    		},
    		// 4-in-6 with octet with leading zero
    		{
    			in:      "::ffff:1.2.03.4",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  8. pkg/apis/autoscaling/validation/validation_test.go

    	}, {
    		behavior: autoscaling.HorizontalPodAutoscalerBehavior{
    			ScaleUp: &autoscaling.HPAScalingRules{
    				Policies: []autoscaling.HPAScalingPolicy{{
    					Type:          autoscaling.PodsScalingPolicy,
    					PeriodSeconds: 8,
    				}},
    			},
    		},
    		msg: "spec.behavior.scaleUp.policies[0].value: Invalid value: 0: must be greater than zero",
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  9. src/runtime/mgcscavenge.go

    	//
    	// This is reset once a GC cycle ends.
    	backgroundTime atomic.Int64
    }
    
    const (
    	// It doesn't really matter what value we start at, but we can't be zero, because
    	// that'll cause divide-by-zero issues. Pick something conservative which we'll
    	// also use as a fallback.
    	startingScavSleepRatio = 0.001
    
    	// Spend at least 1 ms scavenging, otherwise the corresponding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  10. src/time/format.go

    // for compatibility with fixed-width Unix time formats. A leading zero represents
    // a zero-padded value.
    //
    // The formats __2 and 002 are space-padded and zero-padded
    // three-character day of year; there is no unpadded day of year format.
    //
    // A comma or decimal point followed by one or more zeros represents
    // a fractional second, printed to the given number of decimal places.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
Back to top