Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 83 for ts (0.02 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    // is executing the test.
    type signalInterceptingTestStep struct {
    	doneCh chan struct{}
    }
    
    func (ts signalInterceptingTestStep) done() <-chan struct{} {
    	return ts.doneCh
    }
    func (ts signalInterceptingTestStep) execute(fn func()) {
    	defer close(ts.doneCh)
    	fn()
    }
    func newSignalInterceptingTestStep() *signalInterceptingTestStep {
    	return &signalInterceptingTestStep{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

                     }
                }
            """
            file("buildSrc/src/main/java/WithAlternativeTypes.java") << """
                public record WithAlternativeTypes(Integer number, Boolean a, boolean b, java.util.TreeSet<String> ts) {}
            """
    
            file("buildSrc/build.gradle.kts") << """
                plugins {
                    `java-library`
                }
            """
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. src/os/exec/exec_test.go

    	ts := httptest.NewUnstartedServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {}))
    	// quiet expected TLS handshake error "remote error: bad certificate"
    	ts.Config.ErrorLog = log.New(io.Discard, "", 0)
    	ts.StartTLS()
    	defer ts.Close()
    	_, err = http.Get(ts.URL)
    	if err == nil {
    		t.Errorf("success trying to fetch %s; want an error", ts.URL)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. cmd/bucket-targets.go

    func (sys *BucketTargetSys) ListTargets(ctx context.Context, bucket, arnType string) (targets []madmin.BucketTarget) {
    	h := sys.healthStats()
    
    	if bucket != "" {
    		if ts, err := sys.ListBucketTargets(ctx, bucket); err == nil {
    			for _, t := range ts.Targets {
    				if string(t.Type) == arnType || arnType == "" {
    					if hs, ok := h[t.URL().Host]; ok {
    						t.TotalDowntime = hs.offlineDuration
    						t.Online = hs.Online
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:09:56 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. src/encoding/binary/binary_test.go

    		}
    	}
    }
    
    func TestWriteT(t *testing.T) {
    	for _, enc := range encoders {
    		t.Run(enc.name, func(t *testing.T) {
    			ts := T{}
    			if _, err := enc.fn(BigEndian, ts); err == nil {
    				t.Errorf("WriteT: have err == nil, want non-nil")
    			}
    
    			tv := reflect.Indirect(reflect.ValueOf(ts))
    			for i, n := 0, tv.NumField(); i < n; i++ {
    				typ := tv.Field(i).Type().String()
    				if typ == "[4]int" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. security/pkg/nodeagent/cache/secretcache.go

    	ns = sc.getCachedSecret(resourceName)
    	if ns != nil {
    		return ns, nil
    	}
    
    	if ts := time.Since(t0); ts > time.Second {
    		cacheLog.Warnf("slow generate secret lock: %v", ts)
    	}
    
    	// send request to CA to get new workload certificate
    	ns, err = sc.generateNewSecret(resourceName)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  7. src/net/http/request_test.go

    		// triggers the overflow. See issue https://golang.org/issue/40430/
    		if err := req.ParseMultipartForm(math.MaxInt64); err != nil {
    			Error(rw, err.Error(), StatusBadRequest)
    			return
    		}
    	})).ts
    	fBuf := new(bytes.Buffer)
    	mw := multipart.NewWriter(fBuf)
    	mf, err := mw.CreateFormFile("file", "myfile.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  8. src/runtime/sys_darwin.go

    }
    func kqueue_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32 {
    	ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(kevent_trampoline)), unsafe.Pointer(&kq))
    	KeepAlive(ch)
    	KeepAlive(ev)
    	KeepAlive(ts)
    	return ret
    }
    func kevent_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. src/runtime/sys_linux_ppc64x.s

    	MOVD	$1000000, R5
    	MULLW	R4, R5, R5	// Convert tv_sec back into uS
    	SUB	R5, R3, R5	// Compute remainder uS.
    	MULLD	$1000, R5, R5	// Convert to nsec
    	MOVD	R5, 16(R1)	// Store to tv_nsec
    
    	// nanosleep(&ts, 0)
    	ADD	$8, R1, R3
    	MOVW	$0, R4
    	SYSCALL	$SYS_nanosleep
    	RET
    
    TEXT runtimeĀ·gettid(SB),NOSPLIT,$0-4
    	SYSCALL	$SYS_gettid
    	MOVW	R3, ret+0(FP)
    	RET
    
    TEXT runtimeĀ·raise(SB),NOSPLIT|NOFRAME,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/config.go

    		"hide":                 "h",
    		"show":                 "s",
    		"show_from":            "sf",
    		"tagfocus":             "tf",
    		"tagignore":            "ti",
    		"tagshow":              "ts",
    		"taghide":              "th",
    		"mean":                 "mean",
    		"sample_index":         "si",
    		"normalize":            "norm",
    		"sort":                 "sort",
    		"granularity":          "g",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top