Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 437 for aloop (0.52 sec)

  1. pkg/volume/util/volumepathhandler/volume_path_handler_linux.go

    // getLoopDeviceFromSysfs finds the backing file for a loop
    // device from sysfs via "/sys/block/loop*/loop/backing_file".
    func getLoopDeviceFromSysfs(path string) (string, error) {
    	// If the file is a symlink.
    	realPath, err := filepath.EvalSymlinks(path)
    	if err != nil {
    		return "", fmt.Errorf("failed to evaluate path %s: %s", path, err)
    	}
    
    	devices, err := filepath.Glob("/sys/block/loop*")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. src/crypto/sha1/sha1block_s390x.s

    	MOVBZ  ·useAsm(SB), R4
    	LMG    dig+0(FP), R1, R3            // R2 = &p[0], R3 = len(p)
    	MOVBZ  $1, R0                       // SHA-1 function code
    	CMPBEQ R4, $0, generic
    
    loop:
    	KIMD R0, R2      // compute intermediate message digest (KIMD)
    	BVS  loop        // continue if interrupted
    	RET
    
    generic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 608 bytes
    - Viewed (0)
  3. src/math/big/arith.go

    // However, checking i < len(x) && i < len(y) as well is faster than
    // having the compiler do a bounds check in the body of the loop;
    // remarkably it is even faster than hoisting the bounds check
    // out of the loop, by doing something like
    //   _, _ = x[len(z)-1], y[len(z)-1]
    // There are other ways to hoist the bounds check out of the loop,
    // but the compiler's BCE isn't powerful enough for them (yet?).
    // See the discussion in CL 164966.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 28 20:09:27 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  4. test/typeparam/issue48462.dir/a.go

    // license that can be found in the LICENSE file.
    
    package a
    
    func Unique[T comparable](set []T) []T {
    	nset := make([]T, 0, 8)
    
    loop:
    	for _, s := range set {
    		for _, e := range nset {
    			if s == e {
    				continue loop
    			}
    		}
    
    		nset = append(nset, s)
    	}
    
    	return nset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 00:13:47 UTC 2021
    - 383 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue9400/asm_amd64x.s

    	// will clobber the test pattern created by the caller
    	ADDQ	$(1024 * 8), SP
    
    	// Ask signaller to setgid
    	MOVL	$1, ·Baton(SB)
    
    	// Wait for setgid completion
    loop:
    	PAUSE
    	MOVL	·Baton(SB), AX
    	CMPL	AX, $0
    	JNE	loop
    
    	// Restore stack
    	SUBQ	$(1024 * 8), SP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 589 bytes
    - Viewed (0)
  6. test/typecheckloop.go

    // Verify that constant definition loops are caught during
    // typechecking and that the errors print correctly.
    
    package main
    
    const A = 1 + B // ERROR "constant definition loop\n.*A uses B\n.*B uses C\n.*C uses A|initialization cycle"
    const B = C - 1 // ERROR "constant definition loop\n.*B uses C\n.*C uses B|initialization cycle"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 528 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue9400/asm_386.s

    	// will clobber the test pattern created by the caller
    	ADDL	$(1024 * 8), SP
    
    	// Ask signaller to setgid
    	MOVL	$1, (BX)
    
    	// Wait for setgid completion
    loop:
    	PAUSE
    	MOVL	(BX), AX
    	CMPL	AX, $0
    	JNE	loop
    
    	// Restore stack
    	SUBL	$(1024 * 8), SP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 575 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue9400/asm_s390x.s

    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), R15
    
    	// Ask signaller to setgid
    	MOVD	$·Baton(SB), R5
    	MOVW	$1, 0(R5)
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R3
    	CMPBNE	R3, $0, loop
    
    	// Restore stack
    	SUB	$(1024 * 8), R15
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 580 bytes
    - Viewed (0)
  9. pkg/kubelet/cloudresource/cloud_request_manager_test.go

    			wantErr:                true,
    			shouldDisableInstances: true,
    		},
    		{
    			name:      "subsequent sync loop succeeds",
    			addrs:     createNodeInternalIPAddress("10.0.1.12"),
    			wantAddrs: createNodeInternalIPAddress("10.0.1.12"),
    		},
    		{
    			name:      "subsequent sync loop encounters an error, last addresses returned",
    			err:       errors.New("bad"),
    			wantAddrs: createNodeInternalIPAddress("10.0.1.12"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. src/crypto/sha256/sha256block_s390x.s

    	MOVBZ  ·useAsm(SB), R4
    	LMG    dig+0(FP), R1, R3            // R2 = &p[0], R3 = len(p)
    	MOVBZ  $2, R0                       // SHA-256 function code
    	CMPBEQ R4, $0, generic
    
    loop:
    	KIMD R0, R2      // compute intermediate message digest (KIMD)
    	BVS  loop        // continue if interrupted
    	RET
    
    generic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 610 bytes
    - Viewed (0)
Back to top