Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultBuildLauncherTest.groovy

            0 * asyncConnection._
            0 * handler._
        }
    
        def "can configure task selector build operation for consumer generated selectors"() {
            def ts = Mock(TaskListingLaunchable)
            _ * ts.name >> 'myTask'
            _ * ts.taskNames >> Sets.newTreeSet([':a:myTask', ':b:myTask'])
            ResultHandlerVersion1<Void> adaptedHandler
            ResultHandler<Void> handler = Mock()
            OutputStream stdout = Stub()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  2. src/runtime/os3_solaris.go

    }
    
    const (
    	_CLOCK_REALTIME  = 3
    	_CLOCK_MONOTONIC = 4
    )
    
    //go:nosplit
    func nanotime1() int64 {
    	var ts mts
    	sysvicall2(&libc_clock_gettime, _CLOCK_MONOTONIC, uintptr(unsafe.Pointer(&ts)))
    	return ts.tv_sec*1e9 + ts.tv_nsec
    }
    
    //go:nosplit
    func open(path *byte, mode, perm int32) int32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. cmd/metrics-resource.go

    		}
    		if hm.CPU != nil {
    			labels := map[string]string{}
    			ts := hm.CPU.TimesStat
    			if ts != nil {
    				tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    				cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    				updateResourceMetrics(cpuSubsystem, cpuUser, cpuUserVal, labels, false)
    				cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. src/internal/trace/internal/oldtrace/parser.go

    		case EvGoSysBlock, EvGoInSyscall:
    			lastSysBlock[ev.G] = ev.Ts
    		case EvGoSysExit:
    			ts := Timestamp(ev.Args[2])
    			if ts == 0 {
    				continue
    			}
    			block := lastSysBlock[ev.G]
    			if block == 0 {
    				return Events{}, fmt.Errorf("stray syscall exit")
    			}
    			if ts < block {
    				return Events{}, ErrTimeOrder
    			}
    			ev.Ts = ts
    		}
    	}
    	sort.Stable(&events)
    
    	return events, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    )
    
    func TestSchemaDeclType(t *testing.T) {
    	ts := testSchema()
    	cust := SchemaDeclType(ts, false)
    	if cust.TypeName() != "object" {
    		t.Errorf("incorrect type name, got %v, wanted object", cust.TypeName())
    	}
    	if len(cust.Fields) != 4 {
    		t.Errorf("incorrect number of fields, got %d, wanted 4", len(cust.Fields))
    	}
    	for _, f := range cust.Fields {
    		prop, found := ts.Properties[f.Name]
    		if !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. pilot/test/xdstest/extract.go

    	for _, fc := range l.GetFilterChains() {
    		if fc.GetTransportSocket() != nil {
    			sockets = append(sockets, fc.GetTransportSocket())
    		}
    	}
    	if ts := l.GetDefaultFilterChain().GetTransportSocket(); ts != nil {
    		sockets = append(sockets, ts)
    	}
    	for _, s := range sockets {
    		tl := UnmarshalAny[tls.DownstreamTlsContext](t, s.GetTypedConfig())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  7. src/net/http/responsecontroller_test.go

    		w.Write([]byte("one"))
    		if err := ctl.Flush(); err != nil {
    			t.Errorf("ctl.Flush() = %v, want nil", err)
    			return
    		}
    		<-continuec
    		w.Write([]byte("two"))
    	}))
    
    	res, err := cst.c.Get(cst.ts.URL)
    	if err != nil {
    		t.Fatalf("unexpected connection error: %v", err)
    	}
    	defer res.Body.Close()
    
    	buf := make([]byte, 16)
    	n, err := res.Body.Read(buf)
    	close(continuec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:20:31 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go

    	tv := [2]Timeval{
    		NsecToTimeval(TimespecToNsec(ts[0])),
    		NsecToTimeval(TimespecToNsec(ts[1])),
    	}
    	return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
    	if ts == nil {
    		return utimensat(dirfd, path, nil, flags)
    	}
    	if len(ts) != 2 {
    		return EINVAL
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 15K bytes
    - Viewed (0)
  9. src/internal/trace/oldtrace.go

    		// Event.Task expects the parent and name to be smuggled in extra args
    		// and as extra strings.
    		ts, ok := it.tasks[TaskID(ev.Args[0])]
    		if ok {
    			delete(it.tasks, TaskID(ev.Args[0]))
    			mappedArgs = timedEventArgs{
    				ev.Args[0],
    				ev.Args[1],
    				uint64(ts.parentID),
    				uint64(it.evt.addExtraString(ts.name)),
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. src/cmd/trace/gen.go

    	}
    
    	// Emit the task slice and notify the emitter of the task.
    	ctx.Task(uint64(task.ID), fmt.Sprintf("T%d %s", task.ID, task.Name), sortIndex)
    	ctx.TaskSlice(traceviewer.SliceEvent{
    		Name:     task.Name,
    		Ts:       ctx.elapsed(startTime),
    		Dur:      endTime.Sub(startTime),
    		Resource: uint64(task.ID),
    		Stack:    ctx.Stack(viewerFrames(startStack)),
    		EndStack: ctx.Stack(viewerFrames(endStack)),
    		Arg:      arg,
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top