Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for ts (0.02 sec)

  1. 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)
  2. 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)
  3. src/internal/trace/summary.go

    				s.rangesP[rangeP{id: r.Scope.Proc(), name: r.Name}] = ev.Goroutine()
    			}
    		}
    		if g == nil {
    			break
    		}
    		if ev.Kind() == EventRangeActive {
    			if ts := g.lastRangeTime[r.Name]; ts != 0 {
    				g.RangeTime[r.Name] += s.syncTs.Sub(ts)
    			}
    			g.lastRangeTime[r.Name] = s.syncTs
    		} else {
    			g.lastRangeTime[r.Name] = ev.Time()
    		}
    	case EventRangeEnd:
    		r := ev.Range()
    		var g *GoroutineSummary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  4. pilot/pkg/model/telemetry_test.go

    	}
    }
    
    func (ts *telemetryStore) add(cfg config.Config) {
    	ts.data = append(ts.data, struct {
    		typ config.GroupVersionKind
    		ns  string
    		cfg config.Config
    	}{
    		typ: cfg.GroupVersionKind,
    		ns:  cfg.Namespace,
    		cfg: cfg,
    	})
    }
    
    func (ts *telemetryStore) Schemas() collection.Schemas {
    	return collection.SchemasFor()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  5. src/syscall/fs_wasip1.go

    	return ENOSYS
    }
    
    func UtimesNano(path string, ts []Timespec) error {
    	// UTIME_OMIT value must match internal/syscall/unix/at_wasip1.go
    	const UTIME_OMIT = -0x2
    	if path == "" {
    		return EINVAL
    	}
    	dirFd, pathPtr, pathLen := preparePath(path)
    	atime := TimespecToNsec(ts[0])
    	mtime := TimespecToNsec(ts[1])
    	if ts[0].Nsec == UTIME_OMIT || ts[1].Nsec == UTIME_OMIT {
    		var st Stat_t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. pkg/test/framework/test.go

    	requireLocalIstiod        bool
    	requireSingleNetwork      bool
    	minIstioVersion           string
    	minKubernetesMinorVersion uint
    	topLevel                  bool
    
    	ctx *testContext
    	tc  context2.Context
    	ts  traceapi.Span
    }
    
    // NewTest returns a new test wrapper for running a single test.
    func NewTest(t *testing.T) Test {
    	rtMu.Lock()
    	defer rtMu.Unlock()
    
    	if rt == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. pilot/pkg/model/extensions.go

    	Port:  0,
    	Class: istionetworking.ListenerClassUndefined,
    }
    
    func matchTrafficSelectors(ts []*extensions.WasmPlugin_TrafficSelector, li WasmPluginListenerInfo) bool {
    	if (li.Class == istionetworking.ListenerClassUndefined && li.Port == 0) || len(ts) == 0 {
    		return true
    	}
    
    	for _, match := range ts {
    		if matchMode(match.Mode, li.Class) && matchPorts(match.Ports, li.Port) {
    			return true
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. pkg/volume/util/atomic_writer.go

    			klog.V(4).Infof("%s: error creating new ts data directory: %v", w.logContext, err)
    			return err
    		}
    		tsDirName := filepath.Base(tsDir)
    
    		// (6)
    		if err = w.writePayloadToDir(cleanPayload, tsDir); err != nil {
    			klog.Errorf("%s: error writing payload to ts data directory %s: %v", w.logContext, tsDir, err)
    			return err
    		}
    		klog.V(4).Infof("%s: performed write of new data to ts data directory: %s", w.logContext, tsDir)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. pilot/pkg/xds/debug.go

    	proxyID, con := s.getDebugConnection(req)
    	if con == nil {
    		s.errorHandler(w, proxyID, con)
    		return
    	}
    	if ts := s.getResourceTypes(req); len(ts) != 0 {
    		resources := s.getConfigDumpByResourceType(con, nil, ts)
    		configDump := &admin.ConfigDump{}
    		for _, resource := range resources {
    			for _, rr := range resource {
    				configDump.Configs = append(configDump.Configs, rr.Resource)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  10. src/go/types/stmt.go

    			if T == nil && t == nil || T != nil && t != nil && Identical(T, t) {
    				// talk about "case" rather than "type" because of nil case
    				Ts := "nil"
    				if T != nil {
    					Ts = TypeString(T, check.qualifier)
    				}
    				err := check.newError(DuplicateCase)
    				err.addf(e, "duplicate case %s in type switch", Ts)
    				err.addf(other, "previous case")
    				err.report()
    				continue L
    			}
    		}
    		seen[T] = e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top