Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,010 for negatives (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

        /**
         * Sets the maximum age of a cached response. If the cache response's age exceeds [maxAge], it
         * will not be used and a network request will be made.
         *
         * @param maxAge a non-negative duration. This is stored and transmitted with [TimeUnit.SECONDS]
         *     precision; finer precision will be lost.
         */
        fun maxAge(maxAge: Duration) =
          apply {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/net/tcpsockopt_solaris.go

    		count = defaultTCPKeepAliveCount
    	}
    	// TCP_KEEPINTVL and TCP_KEEPCNT are not available on Solaris
    	// prior to 11.4, so it's pointless to "leave it unchanged"
    	// with negative value for only one of them. On the other hand,
    	// setting both to negative values should pragmatically leave the
    	// TCP_KEEPALIVE_ABORT_THRESHOLD unchanged.
    	abortIdle := int(roundDurationUp(interval, time.Millisecond)) * count
    	if abortIdle < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top