Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ts (0.03 sec)

  1. src/net/http/serve_test.go

    			io.WriteString(w, r.RemoteAddr)
    		}), func(ts *httptest.Server) {
    			ts.Config.ReadHeaderTimeout = readHeaderTimeout
    			ts.Config.IdleTimeout = 2 * readHeaderTimeout
    		})
    		defer cst.close()
    		ts := cst.ts
    		t.Logf("ReadHeaderTimeout = %v", ts.Config.ReadHeaderTimeout)
    		t.Logf("IdleTimeout = %v", ts.Config.IdleTimeout)
    		c := ts.Client()
    
    		get := func() (string, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  2. src/net/http/transport_test.go

    			ts := newClientServerTest(t, mode, h).ts
    			go proxy(t)
    			c := ts.Client()
    			c.Transport.(*Transport).Proxy = ProxyURL(pu)
    			r, err := c.Head(ts.URL)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if r.Header.Get(sentinelHeader) != sentinelValue {
    				t.Errorf("Failed to retrieve sentinel value")
    			}
    			got := <-ch
    			ts.Close()
    			tsu, err := url.Parse(ts.URL)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    		}
    	}
    	// The HTTPS server used for requesting distributed groups claims.
    	ts := newClaimServer(t, toKeySet(c.pubKeys), signer, c.claimToResponseMap, &c.openIDConfig)
    	defer ts.Close()
    
    	// Make the certificate of the helper server available to the authenticator
    	caBundle := pem.EncodeToMemory(&pem.Block{
    		Type:  "CERTIFICATE",
    		Bytes: ts.Certificate().Raw,
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    func (s *replicationResyncer) incStats(ts TargetReplicationResyncStatus, opts resyncOpts) {
    	s.Lock()
    	defer s.Unlock()
    	m := s.statusMap[opts.bucket]
    	st := m.TargetsMap[opts.arn]
    	st.Object = ts.Object
    	st.ReplicatedCount += ts.ReplicatedCount
    	st.FailedCount += ts.FailedCount
    	st.ReplicatedSize += ts.ReplicatedSize
    	st.FailedSize += ts.FailedSize
    	m.TargetsMap[opts.arn] = st
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

                                       TF_Status* status) {
      std::vector<Tensor> ts;
      status->status = tensorflow::GetNodeAttr(oper->node.attrs(), attr_name, &ts);
      if (!status->status.ok()) return;
      const auto len = std::min(max_values, static_cast<int>(ts.size()));
      for (int i = 0; i < len; ++i) {
        values[i] = TF_TensorFromTensor(ts[i], &status->status);
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. src/runtime/proc.go

    func newm1(mp *m) {
    	if iscgo {
    		var ts cgothreadstart
    		if _cgo_thread_start == nil {
    			throw("_cgo_thread_start missing")
    		}
    		ts.g.set(mp.g0)
    		ts.tls = (*uint64)(unsafe.Pointer(&mp.tls[0]))
    		ts.fn = unsafe.Pointer(abi.FuncPCABI0(mstart))
    		if msanenabled {
    			msanwrite(unsafe.Pointer(&ts), unsafe.Sizeof(ts))
    		}
    		if asanenabled {
    			asanwrite(unsafe.Pointer(&ts), unsafe.Sizeof(ts))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  7. src/reflect/all_test.go

    		struct{ x any }{},
    		struct{ x map[string]int }{},
    		struct{ x func() bool }{},
    		struct{ x chan int }{},
    		struct{ x []string }{},
    		struct{ x unsafe.Pointer }{},
    	}
    	for _, ts := range doNil {
    		ty := TypeOf(ts).Field(0).Type
    		v := Zero(ty)
    		v.IsNil() // panics if not okay to call
    	}
    
    	// Check the implementations
    	var pi struct {
    		x *int
    	}
    	Nil(pi, t)
    	pi.x = new(int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/x86/asm6.go

    	switch a.Reg {
    	case REG_AX, REG_AL, REG_AH:
    		return true
    	}
    
    	return a.Index == REG_AX
    }
    
    func subreg(p *obj.Prog, from int, to int) {
    	if false { /* debug['Q'] */
    		fmt.Printf("\n%v\ts/%v/%v/\n", p, rconv(from), rconv(to))
    	}
    
    	if int(p.From.Reg) == from {
    		p.From.Reg = int16(to)
    		p.Ft = 0
    	}
    
    	if int(p.To.Reg) == from {
    		p.To.Reg = int16(to)
    		p.Tt = 0
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top