Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 130 for ts (0.03 sec)

  1. src/net/http/pprof/pprof.go

    		return
    	}
    	ts := p1.TimeNanos
    	dur := p1.TimeNanos - p0.TimeNanos
    
    	p0.Scale(-1)
    
    	p1, err = profile.Merge([]*profile.Profile{p0, p1})
    	if err != nil {
    		serveError(w, http.StatusInternalServerError, "failed to compute delta")
    		return
    	}
    
    	p1.TimeNanos = ts // set since we don't know what profile.Merge set for TimeNanos.
    	p1.DurationNanos = dur
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:34:05 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. 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)
  3. guava/src/com/google/common/collect/TopKSelector.java

        T[] castBuffer = (T[]) buffer;
        Arrays.sort(castBuffer, 0, bufferSize, comparator);
        if (bufferSize > k) {
          Arrays.fill(buffer, k, buffer.length, null);
          bufferSize = k;
          threshold = buffer[k - 1];
        }
        // Up to bufferSize, all elements of buffer are real Ts (not null unless T includes null)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/collect/TopKSelector.java

        T[] castBuffer = (T[]) buffer;
        Arrays.sort(castBuffer, 0, bufferSize, comparator);
        if (bufferSize > k) {
          Arrays.fill(buffer, k, buffer.length, null);
          bufferSize = k;
          threshold = buffer[k - 1];
        }
        // Up to bufferSize, all elements of buffer are real Ts (not null unless T includes null)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    func UtimesNano(path string, ts []Timespec) error {
    	if ts == nil {
    		return utimensat(AT_FDCWD, path, nil, 0)
    	}
    	if len(ts) != 2 {
    		return EINVAL
    	}
    	return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
    }
    
    func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
    	if ts == nil {
    		return utimensat(dirfd, path, nil, flags)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  8. 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)
  9. pilot/pkg/model/telemetry.go

    						Namespace: key.Namespace,
    					},
    					Logging: telemetry.Spec.GetAccessLogging(),
    				})
    			}
    			ts = append(ts, telemetry.Spec.GetTracing()...)
    		}
    	}
    
    	ct := &computedTelemetries{
    		telemetryKey: key,
    		Metrics:      ms,
    		Logging:      ls,
    		Tracing:      ts,
    	}
    
    	matcher := PolicyMatcherForProxy(proxy).WithService(svc)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. src/encoding/json/stream_test.go

    		})
    	}
    }
    
    // Test from golang.org/issue/11893
    func TestHTTPDecoding(t *testing.T) {
    	const raw = `{ "foo": "bar" }`
    
    	ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		w.Write([]byte(raw))
    	}))
    	defer ts.Close()
    	res, err := http.Get(ts.URL)
    	if err != nil {
    		log.Fatalf("http.Get error: %v", err)
    	}
    	defer res.Body.Close()
    
    	foo := struct {
    		Foo string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 16:00:37 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top