Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,111 for negatives (0.18 sec)

  1. 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)
  2. src/runtime/sys_linux_mips64x.s

    	MOVV	$SYS_write, R2
    	SYSCALL
    	BEQ	R7, 2(PC)
    	SUBVU	R2, R0, R2	// caller expects negative errno
    	MOVW	R2, ret+24(FP)
    	RET
    
    TEXT runtime·read(SB),NOSPLIT|NOFRAME,$0-28
    	MOVW	fd+0(FP), R4
    	MOVV	p+8(FP), R5
    	MOVW	n+16(FP), R6
    	MOVV	$SYS_read, R2
    	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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 20:57:24 UTC 2022
    - 12K bytes
    - Viewed (0)
  3. test/unsafebuiltins.go

    		// nil pointer with zero length returns nil
    		assert(unsafe.Slice((*int)(nil), 0) == nil)
    
    		// nil pointer with positive length panics
    		mustPanic(func() { _ = unsafe.Slice((*int)(nil), 1) })
    
    		// negative length
    		var neg int = -1
    		mustPanic(func() { _ = unsafe.Slice(new(byte), neg) })
    
    		// length too large
    		var tooBig uint64 = math.MaxUint64
    		mustPanic(func() { _ = unsafe.Slice(new(byte), tooBig) })
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 17:15:15 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. releasenotes/notes/jwt-parsing.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: security
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 18:16:22 UTC 2022
    - 184 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram_test.go

    // of repeatedly changing that fake clock by an amount of time chosen
    // uniformly at random from a range that goes from a little negative
    // to somewhat more than two milliseconds.  The negative changes are
    // included because small negative changes have been observed in real
    // monotonic clock readings (see issue #96459) and we want to test
    // that they are properly tolerated.  The designed toleration is to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 13 16:03:06 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  6. src/runtime/histogram.go

    type timeHistogram struct {
    	counts [timeHistNumBuckets * timeHistNumSubBuckets]atomic.Uint64
    
    	// underflow counts all the times we got a negative duration
    	// sample. Because of how time works on some platforms, it's
    	// possible to measure negative durations. We could ignore them,
    	// but we record them anyway because it's better to have some
    	// signal that it's happening than just missing samples.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. pkg/apis/batch/validation/validation_test.go

    		t.Run(k, func(t *testing.T) {
    			if errs := ValidateJob(&v.job, v.opts); len(errs) != 0 {
    				t.Errorf("Got unexpected validation errors: %v", errs)
    			}
    		})
    	}
    	negative := int32(-1)
    	negative64 := int64(-1)
    	errorCases := map[string]struct {
    		opts JobValidationOptions
    		job  batch.Job
    	}{
    		`spec.managedBy: Too long: may not be longer than 63`: {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/time_budget_test.go

    	// we didn't advanced on time yet
    	budget.returnUnused(budget.refresh)
    	if res := budget.takeAvailable(); res != budget.refresh {
    		t.Errorf("Expected: %v, got: %v", budget.refresh, res)
    	}
    
    	// return a negative value to the budget
    	// we didn't advanced on time yet
    	budget.returnUnused(-time.Duration(50))
    	if res := budget.takeAvailable(); res != time.Duration(0) {
    		t.Errorf("Expected: %v, got: %v", time.Duration(0), res)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 15 09:52:18 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/form-validator/html5.js

    (j="0"),i||(i="9007199254740992"),k||(k="1"),h["data-validation-allowing"]="range["+j+";"+i+"]",0!==j.indexOf("-")&&0!==i.indexOf("-")||(h["data-validation-allowing"]+=",negative"),(j.indexOf(".")>-1||i.indexOf(".")>-1||k.indexOf(".")>-1)&&(h["data-validation-allowing"]+=",float")):h["data-validation-allowing"]+=",float,negative"}if(e.attr("pattern")&&(b.push("custom"),h["data-validation-regexp"]=e.attr("pattern")),e.attr("maxlength")&&(b.push("length"),h["data-validation-length"]="max"+e.attr("...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  10. maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

         * Moves the cursor up. If the parameter y is negative it moves the cursor down.
         *
         * @param y the number of lines to move up
         * @return this Ansi instance
         */
        public Ansi cursorUp(final int y) {
            return y > 0 ? appendEscapeSequence('A', y) : y < 0 ? cursorDown(-y) : this;
        }
    
        /**
         * Moves the cursor down. If the parameter y is negative it moves the cursor up.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top