Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for ts (0.04 sec)

  1. src/time/time.go

    		return t.ext > u.ext
    	}
    	ts := t.sec()
    	us := u.sec()
    	return ts > us || ts == us && t.nsec() > u.nsec()
    }
    
    // Before reports whether the time instant t is before u.
    func (t Time) Before(u Time) bool {
    	if t.wall&u.wall&hasMonotonic != 0 {
    		return t.ext < u.ext
    	}
    	ts := t.sec()
    	us := u.sec()
    	return ts < us || ts == us && t.nsec() < u.nsec()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ppc64/asm.go

    	ts := ldr.LookupOrCreateSym("runtime.elf_"+s[1], 0)
    	r.SetSym(ts)
    	r.SetAdd(int64((n - minReg) * offMul))
    	firstUse = !ldr.AttrReachable(ts)
    	if firstUse {
    		// This function only becomes reachable now. It has been dropped from
    		// the text section (it was unreachable until now), it needs included.
    		ldr.SetAttrReachable(ts, true)
    	}
    	return ts, firstUse
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    func impl_utimensat(dirfd int, path string, ts *[2]Timespec, flags int) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	runtime.EnterSyscall()
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___UTIMENSAT_A<<4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(ts)), uintptr(flags))
    	runtime.ExitSyscall()
    	if int64(r0) == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	// Use the finished time of the latest exited container as the start point to calculate whether to do back-off.
    	ts := cStatus.FinishedAt
    	// backOff requires a unique key to identify the container.
    	key := getStableKey(pod, container)
    	if backOff.IsInBackOffSince(key, ts) {
    		if containerRef, err := kubecontainer.GenerateContainerRef(pod, container); err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  5. src/encoding/json/decode_test.go

    			Field:  "PP.T.Y",
    			Type:   reflect.TypeFor[int](),
    			Offset: 29,
    		},
    	},
    	{
    		CaseName: Name(""),
    		in:       `{"Ts": [{"Y": 1}, {"Y": 2}, {"Y": "bad-type"}]}`,
    		ptr:      new(PP),
    		err: &UnmarshalTypeError{
    			Value:  "string",
    			Struct: "T",
    			Field:  "Ts.Y",
    			Type:   reflect.TypeFor[int](),
    			Offset: 29,
    		},
    	},
    	// #14702
    	{
    		CaseName: Name(""),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/sidecar_simulation_test.go

    	}
    	expectedTLSContext := func(filterChain *listener.FilterChain) error {
    		tlsContext := &tls.DownstreamTlsContext{}
    		ts := filterChain.GetTransportSocket().GetTypedConfig()
    		if ts == nil {
    			return fmt.Errorf("expected transport socket for chain %v", filterChain.GetName())
    		}
    		if err := ts.UnmarshalTo(tlsContext); err != nil {
    			return err
    		}
    		commonTLSContext := tlsContext.CommonTlsContext
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  7. src/time/time_test.go

    	}
    
    	for _, tt := range tests {
    		var ts Time
    
    		want := tt.want
    		err := json.Unmarshal([]byte(tt.in), &ts)
    		if fmt.Sprint(err) != want {
    			t.Errorf("Time.UnmarshalJSON(%s) = %v, want %v", tt.in, err, want)
    		}
    
    		if strings.HasPrefix(tt.in, `"`) && strings.HasSuffix(tt.in, `"`) {
    			err = ts.UnmarshalText([]byte(strings.Trim(tt.in, `"`)))
    			if fmt.Sprint(err) != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  8. src/internal/trace/order.go

    	id := TaskID(ev.args[0])
    	if ts, ok := o.activeTasks[id]; ok {
    		// Smuggle the task info. This may happen in a different generation,
    		// which may not have the name in its string table. Add it to the extra
    		// strings table so we can look it up later.
    		ev.extra(version.Go122)[0] = uint64(ts.parentID)
    		ev.extra(version.Go122)[1] = uint64(evt.addExtraString(ts.name))
    		delete(o.activeTasks, id)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  9. src/regexp/testdata/testregex.c

    	{
    		printf("NOTE\t");
    		if (msg)
    			printf("%s: ", msg);
    		printf("skipping lines %d", state.lineno);
    	}
    	return skip | level;
    }
    
    #define TABS(n)		&ts[7-((n)&7)]
    
    static char		ts[] = "\t\t\t\t\t\t\t";
    
    static unsigned long
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/out.go

    			gd, ok := d.(*ast.GenDecl)
    			if !ok || gd.Tok != token.TYPE {
    				continue
    			}
    			for _, spec := range gd.Specs {
    				ts, ok := spec.(*ast.TypeSpec)
    				if !ok {
    					continue
    				}
    				if ts.Name.Name == t.Name {
    					return p.cgoType(ts.Type)
    				}
    			}
    		}
    		if def := typedef[t.Name]; def != nil {
    			if defgo, ok := def.Go.(*ast.Ident); ok {
    				switch defgo.Name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top