- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 166 for ts (0.02 sec)
-
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) -
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) -
pkg/registry/core/service/allocator/bitmap_test.go
} calls := sets.NewInt() m.ForEach(func(i int) { calls.Insert(i) }) if len(calls) != len(ts) { t.Errorf("[%d] expected %d calls, got %d", i, len(ts), len(calls)) } if !calls.Equal(ts) { t.Errorf("[%d] expected calls to equal testcase: %v vs %v", i, calls.List(), ts.List()) } } }) } } func TestSnapshotAndRestore(t *testing.T) { testCases := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 10 08:56:31 UTC 2022 - 13.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
src/main/java/jcifs/ntlmssp/Type3Message.java
byte[] ntlmClientChallenge = new byte[8]; tc.getConfig().getRandom().nextBytes(ntlmClientChallenge); long ts = ( System.currentTimeMillis() + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601 ) * 10000; if ( haveTimestamp ) { ts = ( (AvTimestamp) AvPairs.get(avPairs, AvPair.MsvAvTimestamp) ).getTimestamp(); } setNTResponse(
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 30.6K bytes - Viewed (0) -
src/runtime/sys_linux_386.s
// Stack layout, depending on call path: // x(SP) vDSO INVOKE_SYSCALL // 12 ts.tv_nsec ts.tv_nsec // 8 ts.tv_sec ts.tv_sec // 4 &ts - // 0 CLOCK_<id> - MOVL runtime·vdsoClockgettimeSym(SB), AX CMPL AX, $0 JEQ fallback LEAL 8(SP), BX // &ts (struct timespec) MOVL BX, 4(SP) MOVL $0, 0(SP) // CLOCK_REALTIME CALL AX JMP finish
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 18:53:44 UTC 2023 - 17.9K bytes - Viewed (0)