Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,364 for aloop (0.05 sec)

  1. src/crypto/internal/bigmod/nat_ppc64x.s

    // since 4 values are processed for each
    // loop iteration, and is guaranteed to be > 0.
    // If other callers are added this function might
    // need to change.
    TEXT addMulVVWx<>(SB), NOSPLIT, $0
    	MOVD	z+0(FP), R3
    	MOVD	x+8(FP), R4
    	MOVD	y+16(FP), R5
    
    	MOVD	$0, R9		// R9 = c = 0
    	MOVD	R6, CTR		// Initialize loop counter
    	PCALIGN	$16
    
    loop:
    	MOVD	0(R4), R14	// x[i]
    	MOVD	8(R4), R16	// x[i+1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:32:43 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/tests/perf_test.cc

    }  // namespace
    
    // Add numbers in a loop by calling a callable.
    void CallFunctions(::testing::benchmark::State& state) {
      Integer sum(0);
      Callable callable((impl::TaggedValue(impl::Func(AddTagged))));
      *callable.Call<Integer>(sum, Integer(30));
      size_t i = 0;
      for (auto dummy : state) {
        sum = *callable.Call<Integer>(sum, Integer(i));
        i++;
      }
    }
    
    // Add numbers in a loop by calling a callable, looking up method every
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 15 16:58:38 UTC 2021
    - 3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top