Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 138 for ts (0.02 sec)

  1. src/runtime/defs_freebsd_amd64.go

    	uc_flags    int32
    	__spare__   [4]int32
    	pad_cgo_0   [12]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. src/runtime/defs_freebsd_arm64.go

    	uc_flags    int32
    	__spare__   [4]int32
    	pad_cgo_0   [12]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/runtime/defs_darwin_amd64.go

    }
    
    type itimerval struct {
    	it_interval timeval
    	it_value    timeval
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type fpcontrol struct {
    	pad_cgo_0 [2]byte
    }
    
    type fpstatus struct {
    	pad_cgo_0 [2]byte
    }
    
    type regmmst struct {
    	mmst_reg  [10]int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. src/internal/trace/internal/oldtrace/parser_test.go

    		}
    	}
    
    	if n := evs.Len(); n != N-consume {
    		t.Fatalf("got %d remaining elements, expected %d", n, N-consume)
    	}
    
    	ev := evs.Ptr(0)
    	if ev.Ts != consume {
    		t.Fatalf("got event %d, expected %d", int(ev.Ts), consume)
    	}
    
    	for {
    		_, ok := evs.Pop()
    		if !ok {
    			break
    		}
    	}
    
    	for i, b := range evs.buckets {
    		if b != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. .github/workflows/feedback.yml

        runs-on: ubuntu-latest
        steps:
          # Feedback loop: ask for something on PR/Issue and close if not provided or return to the queue on update.
          # https://github.com/gradle/issue-management-action/blob/main/src/feedback.ts
          - uses: gradle/issue-management-action@v1
            with:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 516 bytes
    - Viewed (1)
  6. src/runtime/traceevent.go

    	w, _ = w.ensure(1 + (len(args)+1)*traceBytesPerNumber)
    
    	// Compute the timestamp diff that we'll put in the trace.
    	ts := traceClockNow()
    	if ts <= w.traceBuf.lastTime {
    		ts = w.traceBuf.lastTime + 1
    	}
    	tsDiff := uint64(ts - w.traceBuf.lastTime)
    	w.traceBuf.lastTime = ts
    
    	// Write out event.
    	w.byte(byte(ev))
    	w.varint(tsDiff)
    	for _, arg := range args {
    		w.varint(uint64(arg))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. .github/workflows/pull-metadata.yml

          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          # Check that PRs have proper metadata: labels and milestone
          # https://github.com/gradle/issue-management-action/blob/main/src/pull-metadata.ts
          - uses: gradle/issue-management-action@v1
            with:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 477 bytes
    - Viewed (0)
  8. src/syscall/syscall_aix.go

    const (
    	F_DUPFD_CLOEXEC = 0
    	// AF_LOCAL doesn't exist on AIX
    	AF_LOCAL = AF_UNIX
    
    	_F_DUP2FD_CLOEXEC = 0
    )
    
    func (ts *StTimespec_t) Unix() (sec int64, nsec int64) {
    	return int64(ts.Sec), int64(ts.Nsec)
    }
    
    func (ts *StTimespec_t) Nano() int64 {
    	return int64(ts.Sec)*1e9 + int64(ts.Nsec)
    }
    
    /*
     * Wrapped
     */
    
    func Access(path string, mode uint32) (err error) {
    	return Faccessat(_AT_FDCWD, path, mode, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/net/http/httptest/server.go

    	}
    	return false
    }
    
    // NewServer starts and returns a new [Server].
    // The caller should call Close when finished, to shut it down.
    func NewServer(handler http.Handler) *Server {
    	ts := NewUnstartedServer(handler)
    	ts.Start()
    	return ts
    }
    
    // NewUnstartedServer returns a new [Server] but doesn't start it.
    //
    // After changing its configuration, the caller should call Start or
    // StartTLS.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. .github/workflows/issue-metadata.yml

          issues: write
        runs-on: ubuntu-latest
        steps:
          # Check that issues have proper metadata: labels and milestone
          # https://github.com/gradle/issue-management-action/blob/main/src/issue-metadata.ts
          - uses: gradle/issue-management-action@v1
            with:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 463 bytes
    - Viewed (0)
Back to top