Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,010 for negatives (0.15 sec)

  1. src/runtime/stubs2.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
    - 1.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go

    			want: []byte{0x38, 0xff},
    		},
    		{
    			in:   FromInt32(-2 - math.MaxUint8), // max negative integer representable in three bytes
    			want: []byte{0x39, 0x01, 0x00},
    		},
    		{
    			in:   FromInt32(-1 - math.MaxUint16), // min negative integer representable in three bytes
    			want: []byte{0x39, 0xff, 0xff},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go

    				}
    			}),
    		},
    	})
    
    	group(t, "negative integer", []test{
    		{
    			name:          "int64 max negative value",
    			in:            hex("20"), // -1
    			want:          int64(-1),
    			assertOnError: assertNilError,
    		},
    		{
    			name:          "int64 min negative value",
    			in:            hex("3b7fffffffffffffff"), // -9223372036854775808
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. security/pkg/server/ca/monitoring.go

    		"The unix timestamp, in seconds, when Citadel root cert will expire. "+
    			"A negative time indicates the cert is expired.",
    	)
    	rootCertExpirySeconds = monitoring.NewDerivedGauge(
    		"citadel_server_root_cert_expiry_seconds",
    		"The time remaining, in seconds, before the root certificate will expire. "+
    			"A negative value indicates the cert is expired.",
    	)
    	certChainExpiryTimestamp = monitoring.NewGauge(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:09 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. test/makechan.go

    // license that can be found in the LICENSE file.
    
    // Ensure that typed non-integer, negative and too large
    // values are not accepted as size argument in make for
    // channels.
    
    package main
    
    type T chan byte
    
    var sink T
    
    func main() {
    	sink = make(T, -1)            // ERROR "negative buffer argument in make.*|must not be negative"
    	sink = make(T, uint64(1<<63)) // ERROR "buffer argument too large in make.*|overflows int"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/expr3.go

    	var a [10]int
    	_ = a[true /* ERROR "cannot convert" */ ]
    	_ = a["foo" /* ERROR "cannot convert" */ ]
    	_ = a[1.1 /* ERROR "truncated" */ ]
    	_ = a[1.0]
    	_ = a[- /* ERROR "negative" */ 1]
    	_ = a[- /* ERROR "negative" */ 1 :]
    	_ = a[: - /* ERROR "negative" */ 1]
    	_ = a[: /* ERROR "middle index required" */ : /* ERROR "final index required" */ ]
    	_ = a[0: /* ERROR "middle index required" */ : /* ERROR "final index required" */ ]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 22:41:49 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/RateLimiter.java

       * @throws IllegalArgumentException if {@code permitsPerSecond} is negative or zero or {@code
       *     warmupPeriod} is negative
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static RateLimiter create(double permitsPerSecond, long warmupPeriod, TimeUnit unit) {
        checkArgument(warmupPeriod >= 0, "warmupPeriod must not be negative: %s", warmupPeriod);
        return create(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top