Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,711 for wall (0.11 sec)

  1. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/MonotonicClock.java

     * All other timestamps are calculated as the wall clock time at last sync + elapsed time since.
     * <p>
     * This clock deals relatively well when the system wall clock shift is adjusted by small amounts.
     * It also deals relatively well when the system wall clock jumps forward by large amounts (this clock will jump with it).
     * It does not deal as well with large jumps back in time.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/security_test.go

    	if err := checkCompilerFlags("TEST", "test", []string{"-Wall"}); err != nil {
    		t.Fatalf("unexpected error for -Wall: %v", err)
    	}
    	os.Setenv("CGO_TEST_DISALLOW", "-Wall")
    	if err := checkCompilerFlags("TEST", "test", []string{"-Wall"}); err == nil {
    		t.Fatalf("missing error for -Wall with CGO_TEST_DISALLOW=-Wall")
    	}
    	os.Setenv("CGO_TEST_ALLOW", "-Wall") // disallow wins
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/time/time.go

    // clock reading.
    type Time struct {
    	// wall and ext encode the wall time seconds, wall time nanoseconds,
    	// and optional monotonic clock reading in nanoseconds.
    	//
    	// From high to low bit position, wall encodes a 1-bit flag (hasMonotonic),
    	// a 33-bit seconds field, and a 30-bit wall time nanoseconds field.
    	// The nanoseconds field is in the range [0, 999999999].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  4. src/time/internal_test.go

    	defer t.Stop()
    
    	// If this test fails, we will either throw (when siftdownTimer detects
    	// bad when on update), or other timers will hang (if the timer in a
    	// heap is in a bad state). There is no reliable way to test this, but
    	// we wait on a short timer here as a smoke test (alternatively, timers
    	// in later tests may hang).
    	<-After(25 * Millisecond)
    }
    
    var (
    	MinMonoTime = Time{wall: 1 << 63, ext: -1 << 63, loc: UTC}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/runtime/time_windows_arm.s

    	MULA	R1, R2, R4, R4
    
    	// wintime*100 = R4:R3
    	MOVW	R3, mono+12(FP)
    	MOVW	R4, mono+16(FP)
    
    	MOVW	$_SYSTEM_TIME, R3
    wall:
    	MOVW	time_hi1(R3), R1
    	DMB	MB_ISH
    	MOVW	time_lo(R3), R0
    	DMB	MB_ISH
    	MOVW	time_hi2(R3), R2
    	CMP	R1, R2
    	BNE	wall
    
    	// w = R1:R0 in 100ns untis
    	// convert to Unix epoch (but still 100ns units)
    	#define delta 116444736000000000
    	SUB.S   $(delta & 0xFFFFFFFF), R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue43639/a.go

    // Copyright 2021 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 issue43639
    
    // #cgo CFLAGS: -W -Wall -Werror
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 224 bytes
    - Viewed (0)
  7. src/runtime/time_windows_386.s

    	// multiply by 100
    	MOVL	$100, AX
    	MULL	CX
    	IMULL	$100, DI
    	ADDL	DI, DX
    	// w*100 = DX:AX
    	MOVL	AX, mono+12(FP)
    	MOVL	DX, mono+16(FP)
    
    wall:
    	MOVL	(_SYSTEM_TIME+time_hi1), CX
    	MOVL	(_SYSTEM_TIME+time_lo), AX
    	MOVL	(_SYSTEM_TIME+time_hi2), DX
    	CMPL	CX, DX
    	JNE	wall
    
    	// w = DX:AX
    	// convert to Unix epoch (but still 100ns units)
    	#define delta 116444736000000000
    	SUBL	$(delta & 0xFFFFFFFF), AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. src/time/mono_test.go

    	}
    
    	t3 := tm.Add(-9e18) // wall now out of range
    	if t3.Nanosecond() != 123456 {
    		t.Errorf("t3.Nanosecond() = %d, want 123456", t3.Nanosecond())
    	}
    	if GetMono(&t3) != 0 {
    		t.Errorf("t3.mono = %d, want 0 (wall time out of range for monotonic reading)", GetMono(&t3))
    	}
    
    	t4 := tm.Add(+9e18) // wall now out of range
    	if t4.Nanosecond() != 123456 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 17:10:49 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  9. src/runtime/cgo/cgo.go

    #cgo aix LDFLAGS: -Wl,-berok
    #cgo solaris LDFLAGS: -lxnet
    #cgo solaris LDFLAGS: -lsocket
    
    // Use -fno-stack-protector to avoid problems locating the
    // proper support functions. See issues #52919, #54313, #58385.
    #cgo CFLAGS: -Wall -Werror -fno-stack-protector
    
    #cgo solaris CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
    
    */
    import "C"
    
    import "runtime/internal/sys"
    
    // Incomplete is used specifically for the semantics of incomplete C types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 14:29:46 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/scan/time/BuildScanClock.java

     *
     * The provider is _required_ to provide monotonic timestamps.
     *
     * @since 4.2
     */
    @ServiceScope(Scope.BuildTree.class)
    public interface BuildScanClock {
    
        /**
         * The current wall clock time.
         */
        long getCurrentTime();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top