Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for ts (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    // TagMap is a collection of tags, classified by their name.
    type TagMap map[string]*Tag
    
    // SortTags sorts a slice of tags based on their weight.
    func SortTags(t []*Tag, flat bool) []*Tag {
    	ts := tags{t, flat}
    	sort.Sort(ts)
    	return ts.t
    }
    
    // New summarizes performance data from a profile into a graph.
    func New(prof *profile.Profile, o *Options) *Graph {
    	if o.CallTree {
    		return newTree(prof, o)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  8. src/crypto/tls/testdata/Client-TLSv12-RenegotiateTwiceRejected

    00000130  92 42 5b c2 81 c0 be 97  79 98 40 fb 4f 6d 14 fd  |.B[.....y.@.Om..|
    00000140  2b 13 8b c2 a5 2e 67 d8  d4 09 9e d6 22 38 b7 4a  |+.....g....."8.J|
    00000150  0b 74 73 2b c2 34 f1 d1  93 e5 96 d9 74 7b f3 58  |.ts+.4......t{.X|
    00000160  9f 6c 61 3c c0 b0 41 d4  d9 2b 2b 24 23 77 5b 1c  |.la<..A..++$#w[.|
    00000170  3b bd 75 5d ce 20 54 cf  a1 63 87 1d 1e 24 c4 f3  |;.u]. T..c...$..|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSA

    00000130  92 42 5b c2 81 c0 be 97  79 98 40 fb 4f 6d 14 fd  |.B[.....y.@.Om..|
    00000140  2b 13 8b c2 a5 2e 67 d8  d4 09 9e d6 22 38 b7 4a  |+.....g....."8.J|
    00000150  0b 74 73 2b c2 34 f1 d1  93 e5 96 d9 74 7b f3 58  |.ts+.4......t{.X|
    00000160  9f 6c 61 3c c0 b0 41 d4  d9 2b 2b 24 23 77 5b 1c  |.la<..A..++$#w[.|
    00000170  3b bd 75 5d ce 20 54 cf  a1 63 87 1d 1e 24 c4 f3  |;.u]. T..c...$..|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. pkg/test/framework/testcontext.go

    		panic(fmt.Sprintf("Attempting to create subtest %s before running parent", name))
    	}
    
    	tc, span := tracing.Start(c.test.tc, name)
    
    	return &testImpl{
    		tc:     tc,
    		ts:     span,
    		name:   name,
    		parent: c.test,
    		s:      c.test.s,
    	}
    }
    
    func (c *testContext) NewSubTestf(format string, a ...any) Test {
    	return c.NewSubTest(fmt.Sprintf(format, a...))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top