Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 207 for ts (0.04 sec)

  1. src/runtime/netpoll_solaris.go

    	if portfd == -1 {
    		return gList{}, 0
    	}
    
    	var wait *timespec
    	var ts timespec
    	if delay < 0 {
    		wait = nil
    	} else if delay == 0 {
    		wait = &ts
    	} else {
    		ts.setNsec(delay)
    		if ts.tv_sec > 1e6 {
    			// An arbitrary cap on how long to wait for a timer.
    			// 1e6 s == ~11.5 days.
    			ts.tv_sec = 1e6
    		}
    		wait = &ts
    	}
    
    	var events [128]portevent
    retry:
    	var n uint32 = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/plugin_test.go

    func TestValidateWebhookDuration(ts *testing.T) {
    	clk := clocktesting.FakeClock{}
    	testServer := webhooktesting.NewTestServerWithHandler(ts, webhooktesting.ClockSteppingWebhookHandler(ts, &clk))
    	testServer.StartTLS()
    	defer testServer.Close()
    	serverURL, err := url.ParseRequestURI(testServer.URL)
    	if err != nil {
    		ts.Fatalf("this should never happen? %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. .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)
  4. 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)
  5. src/cmd/vendor/golang.org/x/telemetry/package.json

    {
      "scripts": {
        "eslint": "eslint . --fix",
        "stylelint": "stylelint '**/*.css' --fix",
        "prettier": "prettier --write **/*.{css,ts,md,yaml} !**/*.min.css",
        "all": "run-s --continue-on-error eslint stylelint prettier"
      },
      "devDependencies": {
        "@typescript-eslint/eslint-plugin": "5.59.6",
        "@typescript-eslint/parser": "5.59.6",
        "eslint": "8.40.0",
        "eslint-config-prettier": "8.8.0",
        "npm-run-all": "4.1.5",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 650 bytes
    - Viewed (0)
  6. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

            metadata.merge(new Metadata());
    
            String dateAfter = gregorianDate();
    
            String ts = metadata.metadata.getVersioning().getSnapshot().getTimestamp();
            String datePart = DATE_FILTER.matcher(ts).replaceAll("");
    
            /* Allow for this test running across midnight */
            Set<String> expected = new HashSet<>(Arrays.asList(dateBefore, dateAfter));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 16 11:43:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. cmd/tier-last-day-stats.go

    //go:generate msgp -file=$GOFILE -unexported
    
    type lastDayTierStats struct {
    	Bins      [24]tierStats
    	UpdatedAt time.Time
    }
    
    func (l *lastDayTierStats) addStats(ts tierStats) {
    	now := time.Now()
    	l.forwardTo(now)
    
    	nowIdx := now.Hour()
    	l.Bins[nowIdx] = l.Bins[nowIdx].add(ts)
    }
    
    // forwardTo moves time to t, clearing entries between last update and t.
    func (l *lastDayTierStats) forwardTo(t time.Time) {
    	if t.IsZero() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. 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)
  9. .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)
  10. src/runtime/os_netbsd.go

    			}
    			continue
    		}
    
    		// Sleep until unparked by semawakeup or timeout.
    		var tsp *timespec
    		var ts timespec
    		if ns >= 0 {
    			wait := deadline - nanotime()
    			if wait <= 0 {
    				return -1
    			}
    			ts.setNsec(wait)
    			tsp = &ts
    		}
    		ret := lwp_park(_CLOCK_MONOTONIC, _TIMER_RELTIME, tsp, 0, unsafe.Pointer(&gp.m.waitsemacount), nil)
    		if ret == _ETIMEDOUT {
    			return -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top