Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 113 for 100000000Z (0.11 sec)

  1. src/cmd/compile/internal/types/utils.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    const BADWIDTH = -1000000000
    
    type bitset8 uint8
    
    func (f *bitset8) set(mask uint8, b bool) {
    	if b {
    		*(*uint8)(f) |= mask
    	} else {
    		*(*uint8)(f) &^= mask
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 09:57:31 UTC 2020
    - 339 bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/FileLockPacketPayloadTest.groovy

            then:
            payload.lockId == 42
            payload.type == UNKNOWN
        }
    
        def "decodes payloads with type #type"() {
            when:
            def payload = FileLockPacketPayload.decode([1, 0, 0, 0, 0, 0, 0, 0, 42, type.ordinal()] as byte[], 10)
    
            then:
            payload.lockId == 42
            payload.type == type
    
            where:
            type << FileLockPacketType.values()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. test/fixedbugs/bug339.go

    // run
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 1608.
    // Size used to be -1000000000.
    
    package main
    
    import "unsafe"
    
    func main() {
    	var a interface{} = 0
    	size := unsafe.Sizeof(a)
    	if size != 2*unsafe.Sizeof((*int)(nil)) {
    		println("wrong size: ", size)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 390 bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/AbstractCrawlerClientTest.java

            client.checkMaxContentLength(responseData);
    
            responseData.setContentLength(1000000L);
            client.checkMaxContentLength(responseData);
    
            responseData.setContentLength(1000000000L);
            client.checkMaxContentLength(responseData);
    
            responseData.setContentLength(1000000000000L);
            client.checkMaxContentLength(responseData);
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/StopwatchTest.java

        ticker.advance((long) (1.5 * 60 * 1000000000L));
        assertEquals("1.500 min", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (2.5 * 60 * 60 * 1000000000L));
        assertEquals("2.500 h", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (7.25 * 24 * 60 * 60 * 1000000000L));
        assertEquals("7.250 d", stopwatch.toString());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/runtime/os_wasip1.go

    }
    
    func walltime1() (sec int64, nsec int32) {
    	var time timestamp
    	if clock_time_get(clockRealtime, 0, unsafe.Pointer(&time)) != 0 {
    		throw("clock_time_get failed")
    	}
    	return int64(time / 1000000000), int32(time % 1000000000)
    }
    
    func nanotime1() int64 {
    	var time timestamp
    	if clock_time_get(clockMonotonic, 0, unsafe.Pointer(&time)) != 0 {
    		throw("clock_time_get failed")
    	}
    	return int64(time)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/noderesources/balanced_allocation_test.go

    			// Node2 std: (0.6 - 0.25) / 2 = 0.175
    			// Node2 Score: (1 - 0.175)*MaxNodeScore = 82
    			pod:          st.MakePod().Obj(),
    			nodes:        []*v1.Node{makeNode("node1", 10000, 20000, nil), makeNode("node2", 10000, 20000, nil)},
    			expectedList: []framework.NodeScore{{Name: "node1", Score: 70}, {Name: "node2", Score: 82}},
    			name:         "no resources requested, pods scheduled with resources",
    			pods: []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  8. src/runtime/time_windows_386.s

    	// but we avoid overflow in the high word.)
    	MOVL	$1000000000, CX
    	DIVL	CX
    	MOVL	AX, DI
    	MOVL	DX, SI
    
    	// DI = nano/100/1e9 = nano/1e11 = sec/100, DX = SI = nano/100%1e9
    	// split DX into seconds and nanoseconds by div 1e7 magic multiply.
    	MOVL	DX, AX
    	MOVL	$1801439851, CX
    	MULL	CX
    	SHRL	$22, DX
    	MOVL	DX, BX
    	IMULL	$10000000, DX
    	MOVL	SI, CX
    	SUBL	DX, CX
    
    	// DI = sec/100 (still)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. src/runtime/time_windows_arm.s

    	// unscale by discarding low 32 bits, shifting the rest by 29
    	MOVW	R6>>29,R6		// R7:R6 = (R7:R6:R5 >> 61)
    	ORR	R7<<3,R6
    	MOVW	R7>>29,R7
    
    	// subtract (10**9 * sec) from nsec to get nanosecond remainder
    	MOVW	$1000000000, R5	// 10**9
    	MULLU	R6,R5,(R9,R8)   // R9:R8 = R7:R6 * R5
    	MULA	R7,R5,R9,R9
    	SUB.S	R8,R1		// R2:R1 -= R9:R8
    	SBC	R9,R2
    
    	// because reciprocal was a truncated repeating fraction, quotient
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. src/runtime/time_linux_amd64.s

    	LEAQ	0(SP), SI
    	MOVQ	runtime·vdsoClockgettimeSym(SB), AX
    	CALL	AX
    
    ret:
    	MOVQ	16(SP), AX	// realtime sec
    	MOVQ	24(SP), DI	// realtime nsec (moved to BX below)
    	MOVQ	0(SP), CX	// monotonic sec
    	IMULQ	$1000000000, CX
    	MOVQ	8(SP), DX	// monotonic nsec
    
    	MOVQ	R12, SP		// Restore real SP
    
    	// Restore vdsoPC, vdsoSP
    	// We don't worry about being signaled between the two stores.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top