- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 57 for 1000000000 (0.1 sec)
-
pkg/kubelet/cm/container_manager_linux_test.go
assert.Equal(t, uint64(0), getCPUWeight(nil)) v := uint64(2) assert.Equal(t, uint64(1), getCPUWeight(&v)) v = uint64(262144) assert.Equal(t, uint64(10000), getCPUWeight(&v)) v = uint64(1000000000) assert.Equal(t, uint64(10000), getCPUWeight(&v)) } func TestSoftRequirementsValidationSuccess(t *testing.T) { if cgroups.IsCgroup2UnifiedMode() { t.Skip("skipping cgroup v1 test on a cgroup v2 system")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 9.7K bytes - Viewed (0) -
src/runtime/sys_linux_loong64.s
MOVV $SYS_pipe2, R11 SYSCALL MOVW R4, errno+16(FP) RET // func usleep(usec uint32) TEXT runtimeĀ·usleep(SB),NOSPLIT,$16-4 MOVWU usec+0(FP), R7 MOVV $1000, R6 MULVU R6, R7, R7 MOVV $1000000000, R6 DIVVU R6, R7, R5 // ts->tv_sec REMVU R6, R7, R4 // ts->tv_nsec MOVV R5, 8(R3) MOVV R4, 16(R3) // nanosleep(&ts, 0) ADDV $8, R3, R4 MOVV R0, R5 MOVV $SYS_nanosleep, R11
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 20:58:13 UTC 2023 - 14.2K bytes - Viewed (0) -
src/runtime/os_aix.go
_CLOCK_MONOTONIC = 10 ) //go:nosplit func nanotime1() int64 { tp := ×pec{} if clock_gettime(_CLOCK_REALTIME, tp) != 0 { throw("syscall clock_gettime failed") } return tp.tv_sec*1000000000 + tp.tv_nsec } func walltime() (sec int64, nsec int32) { ts := ×pec{} if clock_gettime(_CLOCK_REALTIME, ts) != 0 { throw("syscall clock_gettime failed") } return ts.tv_sec, int32(ts.tv_nsec)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
assertEquals("1.0 GB", format.format(_999_megabytes, ScaleUnit.GIGABYTE)); long _1000_megabytes = 1000L * 1000L * 1000L; assertEquals("1.0 GB", format.format(_1000_megabytes)); assertEquals("1000000000 B", format.format(_1000_megabytes, ScaleUnit.BYTE)); assertEquals("1000000 kB", format.format(_1000_megabytes, ScaleUnit.KILOBYTE)); assertEquals("1000 MB", format.format(_1000_megabytes, ScaleUnit.MEGABYTE));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 21:48:41 UTC 2024 - 13K bytes - Viewed (0) -
src/runtime/runtime_test.go
div: 2, ret: 4, rem: 0, }, { num: 9, div: 2, ret: 4, rem: 1, }, { // Used by runtime.check. num: 12345*1000000000 + 54321, div: 1000000000, ret: 12345, rem: 54321, }, { num: 1<<32 - 1, div: 2, ret: 1<<31 - 1, // no overflow. rem: 1, }, { num: 1 << 32, div: 2,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 11.7K bytes - Viewed (0) -
src/runtime/sys_linux_ppc64x.s
// we cannot receive another signal. MOVD 40(R1), R6 MOVD R6, m_vdsoSP(R21) MOVD 32(R1), R6 MOVD R6, m_vdsoPC(R21) return: // sec is in R3, nsec in R5 // return nsec in R3 MOVD $1000000000, R4 MULLD R4, R3 ADD R5, R3 MOVD R3, ret+0(FP) RET // Syscall fallback fallback: ADD $32, R1, R4 SYSCALL $SYS_clock_gettime MOVD 32(R1), R3 MOVD 40(R1), R5 JMP return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 18.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
t0 := runtime.Nanotime1() var secrem uint32 var nsecrem uint32 total := time.Sec*1000000000 + time.Nsec elapsed := runtime.Nanotime1() - t0 var rv int32 var rc int32 var err error // repeatedly sleep for 1 second until less than 1 second left for total-elapsed > 1000000000 { rv, rc, _ = BpxCondTimedWait(uint32(1), uint32(0), uint32(CW_CONDVAR), &secrem, &nsecrem)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 84.4K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/cache.go
func tempFile(ctx context.Context, dir, prefix string, perm fs.FileMode) (f *os.File, err error) { for i := 0; i < 10000; i++ { name := filepath.Join(dir, prefix+strconv.Itoa(rand.Intn(1000000000))+".tmp") f, err = os.OpenFile(name, os.O_RDWR|os.O_CREATE|os.O_EXCL, perm) if os.IsExist(err) { if ctx.Err() != nil { return nil, ctx.Err() } continue } break } return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 24.7K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounter_nodestats_test.go
expected uint64 }{ {latestValue: uint64(0), previousValue: uint64(0), expected: uint64(0)}, {latestValue: uint64(2000000000), previousValue: uint64(0), expected: uint64(200000000 * perfCounterUpdatePeriodSeconds)}, {latestValue: uint64(5000000000), previousValue: uint64(2000000000), expected: uint64(300000000 * perfCounterUpdatePeriodSeconds)}, } for _, tc := range testCases { p := perfCounterNodeStatsClient{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 18:37:21 UTC 2024 - 5.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/balanced_allocation_test.go
// Node2 scores on 0-MaxNodeScore scale // CPU Fraction: 6000 / 10000 = 60% // Memory Fraction: 10000 / 20000 = 50% // Node2 std: (0.6 - 0.5) / 2 = 0.05 // Node2 Score: (1 - 0.05)*MaxNodeScore = 95 pod: &v1.Pod{Spec: cpuAndMemory}, nodes: []*v1.Node{makeNode("node1", 10000, 20000, nil), makeNode("node2", 10000, 20000, nil)}, expectedList: []framework.NodeScore{{Name: "node1", Score: 82}, {Name: "node2", Score: 95}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 15.9K bytes - Viewed (0)