Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,010 for negatives (0.13 sec)

  1. maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

            public abstract String symbol();
    
            public static ScaleUnit getScaleUnit(long size) {
                if (size < 0L) {
                    throw new IllegalArgumentException("file size cannot be negative: " + size);
                }
    
                if (size >= GIGABYTE.bytes()) {
                    return GIGABYTE;
                } else if (size >= MEGABYTE.bytes()) {
                    return MEGABYTE;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/config/validation/validation_test.go

    		errMsg: "invalid configuration: eventBurst (--event-burst) -1 must not be a negative number",
    	}, {
    		name: "invalid EventRecordQPS",
    		configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
    			conf.EventRecordQPS = -1
    			return conf
    		},
    		errMsg: "invalid configuration: eventRecordQPS (--event-qps) -1 must not be a negative number",
    	}, {
    		name: "invalid HealthzPort",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. src/runtime/sys_linux_mipsx.s

    	MOVW	n+8(FP), R6
    	MOVW	$SYS_write, R2
    	SYSCALL
    	BEQ	R7, 2(PC)
    	SUBU	R2, R0, R2	// caller expects negative errno
    	MOVW	R2, ret+12(FP)
    	RET
    
    TEXT runtime·read(SB),NOSPLIT,$0-16
    	MOVW	fd+0(FP), R4
    	MOVW	p+4(FP), R5
    	MOVW	n+8(FP), R6
    	MOVW	$SYS_read, R2
    	SYSCALL
    	BEQ	R7, 2(PC)
    	SUBU	R2, R0, R2	// caller expects negative errno
    	MOVW	R2, ret+12(FP)
    	RET
    
    // func pipe2(flags int32) (r, w int32, errno int32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 20:57:24 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

    		errors = append(errors, fmt.Errorf("--livez-grace-period can not be a negative value"))
    	}
    
    	if s.MaxRequestsInFlight < 0 {
    		errors = append(errors, fmt.Errorf("--max-requests-inflight can not be negative value"))
    	}
    	if s.MaxMutatingRequestsInFlight < 0 {
    		errors = append(errors, fmt.Errorf("--max-mutating-requests-inflight can not be negative value"))
    	}
    
    	if s.RequestTimeout.Nanoseconds() < 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:53:51 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  5. src/math/bits.go

    	uvone    = 0x3FF0000000000000
    	mask     = 0x7FF
    	shift    = 64 - 11 - 1
    	bias     = 1023
    	signMask = 1 << 63
    	fracMask = 1<<shift - 1
    )
    
    // Inf returns positive infinity if sign >= 0, negative infinity if sign < 0.
    func Inf(sign int) float64 {
    	var v uint64
    	if sign >= 0 {
    		v = uvinf
    	} else {
    		v = uvneginf
    	}
    	return Float64frombits(v)
    }
    
    // NaN returns an IEEE 754 “not-a-number” value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/sizes.go

    	// Offsetsof must implement the offset guarantees required by the spec.
    	// A negative entry in the result indicates that the struct is too large.
    	Offsetsof(fields []*Var) []int64
    
    	// Sizeof returns the size of a variable of type T.
    	// Sizeof must implement the size guarantees required by the spec.
    	// A negative result indicates that T is too large.
    	Sizeof(T Type) int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. src/internal/trace/summary_test.go

    	if stats.ExecTime < 0 {
    		t.Error("found negative ExecTime")
    	}
    	if stats.SchedWaitTime < 0 {
    		t.Error("found negative SchedWaitTime")
    	}
    	if stats.SyscallTime < 0 {
    		t.Error("found negative SyscallTime")
    	}
    	if stats.SyscallBlockTime < 0 {
    		t.Error("found negative SyscallBlockTime")
    	}
    	if stats.TotalTime < 0 {
    		t.Error("found negative TotalTime")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/runtime/sys_openbsd_mips64.s

    	SYSCALL
    	BEQ	R7, 2(PC)
    	SUBVU	R2, R0, R2	// caller expects negative errno
    	MOVW	R2, ret+24(FP)
    	RET
    
    // func pipe2(flags int32) (r, w int32, errno int32)
    TEXT runtime·pipe2(SB),NOSPLIT|NOFRAME,$0-20
    	MOVV	$r+8(FP), R4
    	MOVW	flags+0(FP), R5
    	MOVV	$101, R2		// sys_pipe2
    	SYSCALL
    	BEQ	R7, 2(PC)
    	SUBVU	R2, R0, R2	// caller expects negative errno
    	MOVW	R2, errno+16(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  9. src/go/types/sizes.go

    	// Offsetsof must implement the offset guarantees required by the spec.
    	// A negative entry in the result indicates that the struct is too large.
    	Offsetsof(fields []*Var) []int64
    
    	// Sizeof returns the size of a variable of type T.
    	// Sizeof must implement the size guarantees required by the spec.
    	// A negative result indicates that T is too large.
    	Sizeof(T Type) int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. src/math/rand/rng.go

    			x = seedrand(x)
    			u ^= int64(x)
    			u ^= rngCooked[i]
    			rng.vec[i] = u
    		}
    	}
    }
    
    // Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (rng *rngSource) Int63() int64 {
    	return int64(rng.Uint64() & rngMask)
    }
    
    // Uint64 returns a non-negative pseudo-random 64-bit integer as a uint64.
    func (rng *rngSource) Uint64() uint64 {
    	rng.tap--
    	if rng.tap < 0 {
    		rng.tap += rngLen
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 14:20:53 UTC 2023
    - 14.8K bytes
    - Viewed (0)
Back to top