Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 96 for aloop (0.05 sec)

  1. src/html/template/exec_test.go

    	// Fixed bugs.
    	// Must separate dot and receiver; otherwise args are evaluated with dot set to variable.
    	{"bug0", "{{range .MSIone}}{{if $.Method1 .}}X{{end}}{{end}}", "X", tVal, true},
    	// Do not loop endlessly in indirect for non-empty interfaces.
    	// The bug appears with *interface only; looped forever.
    	{"bug1", "{{.Method0}}", "M0", &iVal, true},
    	// Was taking address of interface field, so method set was empty.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    	shard := make([]byte, shardSize)
    	w := newStreamingBitrotWriter(storage, "", volName, fileName, size, algo, shardSize)
    	reader := bytes.NewReader(data)
    	for {
    		// Using io.Copy instead of this loop will not work for us as io.Copy
    		// will use bytes.Reader.WriteTo() which will not do shardSize'ed writes
    		// causing error.
    		n, err := reader.Read(shard)
    		w.Write(shard[:n])
    		if err == nil {
    			continue
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/buildlist.go

    		// provide packages in all.
    		hasDepsInAll := make(map[string]bool)
    		seen := map[module.Version]bool{}
    		for _, m := range roots {
    			hasDepsInAll[m.Path] = true
    		}
    		// This loop will terminate because it will call enqueue on each version of
    		// each dependency of the modules in hasDepsInAll at most once (and only
    		// calls enqueue on successively increasing versions of each dependency).
    		for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  4. src/crypto/internal/nistec/p256_asm_ppc64le.s

    	LXVDSX (R1)(R18), SEL1
    	VSPLTB $7, SEL1, IDX    // splat byte
    
    	VSPLTISB $1, ONE    // Vector with byte 1s
    	VSPLTISB $1, SEL2   // Vector with byte 1s
    	MOVD     $64, COUNT
    	MOVD     COUNT, CTR // loop count
    
    	VSPLTISB $0, X1H // VZERO  X1H
    	VSPLTISB $0, X1L // VZERO  X1L
    	VSPLTISB $0, Y1H // VZERO  Y1H
    	VSPLTISB $0, Y1L // VZERO  Y1L
    
    loop_select:
    	LXVD2X (P1ptr+R0), X2H
    	LXVD2X (P1ptr+R16), X2L
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. src/net/http/client_test.go

    				"Cookie1": {"OldValue1a", "OldValue1b"},
    				"Cookie3": {"NewValue3"},
    				"Cookie4": {"NewValue4"},
    				"Cookie5": {"NewValue5"},
    				"Cycle":   {"3"},
    			}
    			// Don't redirect to ensure the loop ends.
    		default:
    			t.Errorf("unexpected redirect cycle")
    			return
    		}
    
    		if !reflect.DeepEqual(got, want) {
    			t.Errorf("redirect %s, Cookie = %v, want %v", c.Value, got, want)
    		}
    	})).ts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  6. src/runtime/mgc.go

    				// as we are no longer performing P-local mark
    				// work.
    				//
    				// However, since we cooperatively stop work
    				// when gp.preempt is set, if we releasem in
    				// the loop then the following call to gopark
    				// would immediately preempt the G. This is
    				// also safe, but inefficient: the G must
    				// schedule again only to enter gopark and park
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  7. pkg/kubelet/pod_workers_test.go

    		runtime: runtime,
    	}
    	nested.workerChannelFn = func(uid types.UID, in chan struct{}) <-chan struct{} {
    		ch := make(chan struct{})
    		go func() {
    			defer close(ch)
    			// TODO: this is an eager loop, we might want to lazily read from in only once
    			// ch is empty
    			for range in {
    				w.waitForPod(uid)
    				w.tick()
    				ch <- struct{}{}
    			}
    		}()
    		return ch
    	}
    	return w, processed
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Futures.java

       *       RuntimeException} ({@code get} implementations are discouraged from throwing such
       *       exceptions).
       * </ul>
       *
       * <p>The overall principle is to eliminate all checked exceptions: to loop to avoid {@code
       * InterruptedException}, to pass through {@code CancellationException}, and to wrap any exception
       * from the underlying computation in an {@code UncheckedExecutionException} or {@code
       * ExecutionError}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 64.1K bytes
    - Viewed (0)
  9. src/cmd/internal/testdir/testdir_test.go

    			return err
    		}
    		return t.checkExpectedOutput(out)
    
    	case "buildrun":
    		// Build an executable from Go file, then run it, verify its output.
    		// Useful for timeout tests where failure mode is infinite loop.
    		// TODO: not supported on NaCl
    		cmd := []string{goTool, "build", t.goGcflags(), "-o", "a.exe"}
    		if *linkshared {
    			cmd = append(cmd, "-linkshared")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    	// - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
    	//	  "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if",
    	//	  "import", "let", "loop", "package", "namespace", "return".
    	// Examples:
    	//   - Expression accessing a property named "namespace": {"Expression": "object.__namespace__ > 0"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
Back to top