Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 312 for negatives (0.22 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/statistics/TaskExecutionStatistics.java

            checkArgument(executedTasksCount >= 0, "executedTasksCount must be non-negative");
            checkArgument(fromCacheTaskCount >= 0, "fromCacheTaskCount must be non-negative");
            checkArgument(upToDateTaskCount >= 0, "upToDateTaskCount must be non-negative");
            this.executedTasksCount = executedTasksCount;
            this.fromCacheTaskCount = fromCacheTaskCount;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 15 08:48:58 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  2. src/math/signbit.go

    // Copyright 2010 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 math
    
    // Signbit reports whether x is negative or negative zero.
    func Signbit(x float64) bool {
    	return Float64bits(x)&(1<<63) != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 02 22:47:58 UTC 2018
    - 302 bytes
    - Viewed (0)
  3. src/runtime/os_openbsd_syscall2.go

    // read calls the read system call.
    // It returns a non-negative number of bytes written or a negative errno value.
    func read(fd int32, p unsafe.Pointer, n int32) int32
    
    func closefd(fd int32) int32
    
    func exit(code int32)
    func usleep(usec uint32)
    
    //go:nosplit
    func usleep_no_g(usec uint32) {
    	usleep(usec)
    }
    
    // write1 calls the write system call.
    // It returns a non-negative number of bytes written or a negative errno value.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. test/fixedbugs/issue12621.go

    // Copyright 2018 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.
    
    // Issues 12576 and 12621: Negative untyped floating point constants
    // with small magnitude round to 0, not negative zero.
    
    package main
    
    import "math"
    
    var m = -1e-10000
    
    func main() {
    	if math.Signbit(m) {
    		panic(m)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 20:13:05 UTC 2018
    - 393 bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/expr_test.go

    	{"(1<<63)/0", "divide of value with high bit set"},
    	{"3%0", "modulo by zero"},
    	{"(1<<63)%0", "modulo of value with high bit set"},
    	{"3<<-4", "negative left shift count"},
    	{"3<<(1<<63)", "negative left shift count"},
    	{"3>>-4", "negative right shift count"},
    	{"3>>(1<<63)", "negative right shift count"},
    	{"(1<<63)>>2", "right shift of value with high bit set"},
    	{"(1<<62)>>2", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

            if (min < 0) {
                throw new IllegalArgumentException("The min parameter cannot be negative.");
            }
            if (max < 0) {
                throw new IllegalArgumentException("The max parameter cannot be negative.");
            }
            if (max < min) {
                throw new IllegalArgumentException("The length cannot be negative.");
            }
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go

    			want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &ten, APIVersion: defaultAPIVersion},
    		},
    		{
    			desc: "negative cache size supplied",
    			in:   &KMSConfiguration{CacheSize: &negative},
    			want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &negative, APIVersion: defaultAPIVersion},
    		},
    		{
    			desc: "cache size not supplied but API version is v2",
    			in:   &KMSConfiguration{APIVersion: "v2"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. src/archive/tar/strconv.go

    // This function may return negative numbers.
    // If parsing fails or an integer overflow occurs, err will be set.
    func (p *parser) parseNumeric(b []byte) int64 {
    	// Check for base-256 (binary) format first.
    	// If the first bit is set, then all following bits constitute a two's
    	// complement encoded number in big-endian byte order.
    	if len(b) > 0 && b[0]&0x80 != 0 {
    		// Handling negative numbers relies on the following identity:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/array.go

    type Array struct {
    	len  int64
    	elem Type
    }
    
    // NewArray returns a new array type for the given element type and length.
    // A negative length indicates an unknown length.
    func NewArray(elem Type, len int64) *Array { return &Array{len: len, elem: elem} }
    
    // Len returns the length of array a.
    // A negative result indicates an unknown length.
    func (a *Array) Len() int64 { return a.len }
    
    // Elem returns element type of array a.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 01 22:17:50 UTC 2021
    - 803 bytes
    - Viewed (0)
  10. test/append1.go

    	_ = append(s, make([]int, 0))     // ERROR "cannot use make\(\[\]int, 0\) \(value of type \[\]int\) as int value in argument to append"
    	_ = append(s, make([]int, -1)...) // ERROR "negative len argument in make|index -1.* must not be negative"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 22:28:39 UTC 2022
    - 856 bytes
    - Viewed (0)
Back to top