Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 199 for ts (0.02 sec)

  1. src/runtime/sys_openbsd2.go

    			println("runtime: errno", -errno)
    			throw("clock_gettime failed")
    		})
    	}
    	return ts.tv_sec*1e9 + int64(ts.tv_nsec)
    }
    func clock_gettime_trampoline()
    
    //go:nosplit
    func walltime() (int64, int32) {
    	var ts timespec
    	args := struct {
    		clock_id int32
    		tp       unsafe.Pointer
    	}{_CLOCK_REALTIME, unsafe.Pointer(&ts)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/syscall.go

    // See mksyscall.pl.
    var _zero uintptr
    
    func (ts *Timespec) Unix() (sec int64, nsec int64) {
    	return int64(ts.Sec), int64(ts.Nsec)
    }
    
    func (tv *Timeval) Unix() (sec int64, nsec int64) {
    	return int64(tv.Sec), int64(tv.Usec) * 1000
    }
    
    func (ts *Timespec) Nano() int64 {
    	return int64(ts.Sec)*1e9 + int64(ts.Nsec)
    }
    
    func (tv *Timeval) Nano() int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux_arm64.go

    func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
    	var ts *Timespec
    	if timeout != nil {
    		ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
    	}
    	return pselect(nfd, r, w, e, ts, nil)
    }
    
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/node_matchers.h

    // order.
    template <typename... Ts>
    impl::NodeMatcherProperties CtrlDeps(Ts... control_deps) {
      return impl::CtrlDeps({control_deps...});
    }
    
    // Matches a constant node with value `val`.
    impl::NodeMatcherProperties ConstantValue(
        const ::tensorflow::Input::Initializer& val);
    
    // The main gmock matcher.  See file comment for example usage.
    template <typename... Ts>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/plan9/syscall.go

    // See mksyscall.pl.
    var _zero uintptr
    
    func (ts *Timespec) Unix() (sec int64, nsec int64) {
    	return int64(ts.Sec), int64(ts.Nsec)
    }
    
    func (tv *Timeval) Unix() (sec int64, nsec int64) {
    	return int64(tv.Sec), int64(tv.Usec) * 1000
    }
    
    func (ts *Timespec) Nano() int64 {
    	return int64(ts.Sec)*1e9 + int64(ts.Nsec)
    }
    
    func (tv *Timeval) Nano() int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

                    continue;
                }
    
                seen = true;
    
                tg = aTgList;
                Thread[] ts = new Thread[tg.activeCount()];
                tg.enumerate(ts);
    
                for (Thread active : ts) {
                    String name = active.getName();
                    boolean daemon = active.isDaemon();
                    assertTrue(daemon, name + " is no daemon Thread.");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/debug/plan9obj/file.go

    					return &formatError{-1, "bad filename code", eltIdx}
    				}
    				if n := len(ts.Name); n > 0 && ts.Name[n-1] != '/' {
    					ts.Name += "/"
    				}
    				ts.Name += elt
    			}
    		}
    		switch s.typ {
    		case 'f':
    			fname[uint16(s.value)] = ts.Name
    		}
    		return nil
    	})
    	if err != nil {
    		return nil, err
    	}
    
    	return syms, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/envoyfilter/cluster_patch.go

    		return false, nil
    	}
    
    	var ts *core.TransportSocket
    	// First check if the transport socket matches with any cluster transport socket matches.
    	if len(c.GetTransportSocketMatches()) > 0 {
    		for _, tsm := range c.GetTransportSocketMatches() {
    			if tsm.GetTransportSocket() != nil && cpValueCast.GetTransportSocket().Name == tsm.GetTransportSocket().Name {
    				ts = tsm.GetTransportSocket()
    				break
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. src/runtime/defs1_netbsd_arm.go

    	ss_size  uintptr
    	ss_flags int32
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int32
    	_       [4]byte // EABI
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = int64(timediv(ns, 1e9, &ts.tv_nsec))
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int32
    	_       [4]byte // EABI
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. pkg/kubelet/images/helpers.go

    }
    
    type throttledImageService struct {
    	kubecontainer.ImageService
    	limiter flowcontrol.RateLimiter
    }
    
    func (ts throttledImageService) PullImage(ctx context.Context, image kubecontainer.ImageSpec, secrets []v1.Secret, podSandboxConfig *runtimeapi.PodSandboxConfig) (string, error) {
    	if ts.limiter.TryAccept() {
    		return ts.ImageService.PullImage(ctx, image, secrets, podSandboxConfig)
    	}
    	return "", fmt.Errorf("pull QPS exceeded")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 1.6K bytes
    - Viewed (0)
Back to top