Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 130 for ts (0.06 sec)

  1. src/debug/gosym/symtab.go

    	t.Syms = make([]Sym, 0, n)
    	nf := 0
    	nz := 0
    	lasttyp := uint8(0)
    	err = walksymtab(symtab, func(s sym) error {
    		n := len(t.Syms)
    		t.Syms = t.Syms[0 : n+1]
    		ts := &t.Syms[n]
    		ts.Type = s.typ
    		ts.Value = s.value
    		ts.GoType = s.gotype
    		ts.goVersion = pcln.version
    		switch s.typ {
    		default:
    			// rewrite name to use . instead of ยท (c2 b7)
    			w := 0
    			b := s.name
    			for i := 0; i < len(b); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  2. src/time/format_test.go

    		{math.MaxInt64, math.MaxInt64}, // -292277022365-05-08T08:17:07Z
    	} {
    		f.Add(ts[0], ts[1], true, false, 0)
    		f.Add(ts[0], ts[1], false, true, 0)
    		for _, offset := range []int{0, 60, 60 * 60, 99*60*60 + 99*60, 123456789} {
    			f.Add(ts[0], ts[1], false, false, -offset)
    			f.Add(ts[0], ts[1], false, false, +offset)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go

    func TestWebhookDuration(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
    - 11K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

    // does the same thing for `Ts`.
    template <typename T, typename... Ts>
    void DuplicateShapeDeterminingConstants(func::FuncOp func_op) {
      for (auto op : func_op.getOps<typename T::OpType>()) {
        RecursivelyDuplicateConstantsForOperands(
            GetOperands(*op, T::OperandIndices()));
      }
    
      // Do the same thing for the rest of `Ts`.
      if constexpr (sizeof...(Ts) != 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    		cert, err := tls.X509KeyPair(exampleCert, exampleKey)
    		if err != nil {
    			t.Errorf("https (invalid hostname): proxy_test: %v", err)
    		}
    		ts := httptest.NewUnstartedServer(h)
    		ts.TLS = &tls.Config{
    			Certificates: []tls.Certificate{cert},
    		}
    		ts.StartTLS()
    		return ts
    	}
    }
    
    func httpsServerValidHostname(t *testing.T) serverFunc {
    	return func(h http.Handler) *httptest.Server {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K 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. 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