Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for makeError (0.18 sec)

  1. operator/pkg/validate/validate_values_test.go

    			yamlStr: `
    global:
      proxy:
        includeIPRanges: "*,1.1.0.0/16,2.2.0.0/16"
    `,
    			wantErrs: makeErrors([]string{`global.proxy.includeIPRanges netip.ParsePrefix("*"): no '/'`}),
    		},
    		{
    			desc: "BadPortRange",
    			yamlStr: `
    global:
      proxy:
        excludeInboundPorts: "-1,444"
    `,
    			wantErrs: makeErrors([]string{`value global.proxy.excludeInboundPorts:-1 falls outside range [0, 65535]`}),
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 13:43:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. src/math/rand/rand_test.go

    	mean        float64
    	stddev      float64
    	closeEnough float64
    	maxError    float64
    }
    
    func nearEqual(a, b, closeEnough, maxError float64) bool {
    	absDiff := math.Abs(a - b)
    	if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
    		return true
    	}
    	return absDiff/max(math.Abs(a), math.Abs(b)) < maxError
    }
    
    var testSeeds = []int64{1, 1754801282, 1698661970, 1550503961}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. src/math/rand/v2/rand_test.go

    	mean        float64
    	stddev      float64
    	closeEnough float64
    	maxError    float64
    }
    
    func nearEqual(a, b, closeEnough, maxError float64) bool {
    	absDiff := math.Abs(a - b)
    	if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero.
    		return true
    	}
    	return absDiff/max(math.Abs(a), math.Abs(b)) < maxError
    }
    
    var testSeeds = []uint64{1, 1754801282, 1698661970, 1550503961}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

      CHECK(status.ok()) << "Failed to setup request context: " << status.message();
    
      auto req_ctx = std::move(builder).build();
      if (auto err = req_ctx.takeError())
        LOG(FATAL) << "Failed to build a request context";
    
      exec_ctx_ = std::make_unique<tfrt::ExecutionContext>(std::move(*req_ctx));
    }
    
    void RuntimeFallbackExecutor::Prepare(llvm::StringRef mlir_input) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go

    )
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    }
    
    type Timex struct {
    	Modes     uint32
    	Offset    int64
    	Freq      int64
    	Maxerror  int64
    	Esterror  int64
    	Status    int32
    	Constant  int64
    	Precision int64
    	Tolerance int64
    	Time      Timeval
    	Tick      int64
    	Ppsfreq   int64
    	Jitter    int64
    	Shift     int32
    	Stabil    int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go

    )
    
    type Timespec struct {
    	Sec  int32
    	Nsec int32
    }
    
    type Timeval struct {
    	Sec  int32
    	Usec int32
    }
    
    type Timex struct {
    	Modes     uint32
    	Offset    int32
    	Freq      int32
    	Maxerror  int32
    	Esterror  int32
    	Status    int32
    	Constant  int32
    	Precision int32
    	Tolerance int32
    	Time      Timeval
    	Tick      int32
    	Ppsfreq   int32
    	Jitter    int32
    	Shift     int32
    	Stabil    int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go

    )
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    }
    
    type Timex struct {
    	Modes     uint32
    	Offset    int64
    	Freq      int64
    	Maxerror  int64
    	Esterror  int64
    	Status    int32
    	Constant  int64
    	Precision int64
    	Tolerance int64
    	Time      Timeval
    	Tick      int64
    	Ppsfreq   int64
    	Jitter    int64
    	Shift     int32
    	Stabil    int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go

    )
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    }
    
    type Timex struct {
    	Modes     uint32
    	Offset    int64
    	Freq      int64
    	Maxerror  int64
    	Esterror  int64
    	Status    int32
    	Constant  int64
    	Precision int64
    	Tolerance int64
    	Time      Timeval
    	Tick      int64
    	Ppsfreq   int64
    	Jitter    int64
    	Shift     int32
    	Stabil    int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go

    )
    
    type Timespec struct {
    	Sec  int32
    	Nsec int32
    }
    
    type Timeval struct {
    	Sec  int32
    	Usec int32
    }
    
    type Timex struct {
    	Modes     uint32
    	Offset    int32
    	Freq      int32
    	Maxerror  int32
    	Esterror  int32
    	Status    int32
    	Constant  int32
    	Precision int32
    	Tolerance int32
    	Time      Timeval
    	Tick      int32
    	Ppsfreq   int32
    	Jitter    int32
    	Shift     int32
    	Stabil    int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_386.go

    )
    
    type Timespec struct {
    	Sec  int32
    	Nsec int32
    }
    
    type Timeval struct {
    	Sec  int32
    	Usec int32
    }
    
    type Timex struct {
    	Modes     uint32
    	Offset    int32
    	Freq      int32
    	Maxerror  int32
    	Esterror  int32
    	Status    int32
    	Constant  int32
    	Precision int32
    	Tolerance int32
    	Time      Timeval
    	Tick      int32
    	Ppsfreq   int32
    	Jitter    int32
    	Shift     int32
    	Stabil    int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top