Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 485 for i$ (0.05 sec)

  1. src/debug/elf/file_test.go

    		// last 48 bytes.
    		buf.Write(bytes.Repeat([]byte{0}, 0x03FC28-12*4))
    		for i := 0; i < 12; i++ {
    			binary.Write(&buf, binary.LittleEndian, uint32(0xFF00|i))
    		}
    
    		// Write section [65296].
    		buf.Write([]byte{0})
    		buf.Write([]byte("y.c\x00"))
    		for i := 1; i <= 65288; i++ {
    			// var_0001 ~ var_ff08
    			name := fmt.Sprintf("var_%04x", i)
    			buf.Write([]byte(name))
    			buf.Write([]byte{0})
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/type.go

    			return CMPgt // bucket maps are least
    		} // If t != t.Map.Bucket, fall through to general case
    
    		tfs := t.Fields()
    		xfs := x.Fields()
    		for i := 0; i < len(tfs) && i < len(xfs); i++ {
    			t1, x1 := tfs[i], xfs[i]
    			if t1.Embedded != x1.Embedded {
    				return cmpForNe(t1.Embedded < x1.Embedded)
    			}
    			if t1.Note != x1.Note {
    				return cmpForNe(t1.Note < x1.Note)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	// init containers backwards, but we want to start them as per the order in
    	// the pod spec.
    	l := len(changes.InitContainersToStart)
    	for i := 0; i < l/2; i++ {
    		changes.InitContainersToStart[i], changes.InitContainersToStart[l-1-i] =
    			changes.InitContainersToStart[l-1-i], changes.InitContainersToStart[i]
    	}
    
    	return podHasInitialized
    }
    
    // GetContainerLogs returns logs of a specific container.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    			VersionPurgeStatuses:          dObjects[i].ReplicationState.VersionPurgeStatusInternal,
    			DeleteMarkerReplicationStatus: dObjects[i].ReplicationState.ReplicationStatusInternal,
    			ReplicateDecisionStr:          dObjects[i].ReplicationState.ReplicateDecisionStr,
    		}
    		dindex := objectsToDelete[objToDel]
    		if errs[i] == nil || isErrObjectNotFound(errs[i]) || isErrVersionNotFound(errs[i]) {
    			if replicateDeletes {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  5. src/os/os_test.go

    	cdone := make(chan bool, threads)
    	for i := 0; i < threads; i++ {
    		go func(i int) {
    			var b [1]byte
    			creading <- true
    			if _, err := r[i].Read(b[:]); err != nil {
    				t.Error(err)
    			}
    			if err := r[i].Close(); err != nil {
    				t.Error(err)
    			}
    			cdone <- true
    		}(i)
    	}
    
    	for i := 0; i < threads; i++ {
    		<-creading
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  6. src/text/template/exec_test.go

    func count(n int) chan string {
    	if n == 0 {
    		return nil
    	}
    	c := make(chan string)
    	go func() {
    		for i := 0; i < n; i++ {
    			c <- "abcdefghijklmnop"[i : i+1]
    		}
    		close(c)
    	}()
    	return c
    }
    
    // vfunc takes a *V and a V
    func vfunc(V, *V) string {
    	return "vfunc"
    }
    
    // valueString takes a string, not a pointer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  7. src/go/types/api_test.go

    			methods [2][]string // method strings
    		)
    		var wg sync.WaitGroup
    		for i := 0; i < 2; i++ {
    			i := i
    			wg.Add(1)
    			go func() {
    				defer wg.Done()
    
    				counts[i] = inst.NumMethods()
    				for mi := 0; mi < counts[i]; mi++ {
    					methods[i] = append(methods[i], inst.Method(mi).String())
    				}
    			}()
    		}
    		wg.Wait()
    
    		if counts[0] != counts[1] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            String[] secondSegments = second.split("\\.");
            for (int i = 0; i < Math.max(firstSegments.length, secondSegments.length); i++) {
                int result = Long.valueOf(i < firstSegments.length ? firstSegments[i] : "0")
                        .compareTo(Long.valueOf(i < secondSegments.length ? secondSegments[i] : "0"));
                if (result != 0) {
                    return result;
                }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 76K bytes
    - Viewed (0)
  9. pkg/kubelet/pod_workers_test.go

    	}
    	for i := 0; i < numPods; i++ {
    		uid := types.UID(strconv.Itoa(i))
    		events := processed[uid]
    		if len(events) < 1 || len(events) > i+1 {
    			t.Errorf("Pod %v processed %v times", i, len(events))
    			continue
    		}
    
    		// PodWorker guarantees the last event will be processed
    		last := len(events) - 1
    		if events[last].name != strconv.Itoa(i) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_utils_test.go

    	}
    	pod = newStatefulSetPod(set, 1)
    	for i := range pod.Spec.Volumes {
    		pod.Spec.Volumes[i].PersistentVolumeClaim = nil
    	}
    	if storageMatches(set, pod) {
    		t.Error("Pod with invalid Volumes claim valid storage")
    	}
    	pod = newStatefulSetPod(set, 1)
    	for i := range pod.Spec.Volumes {
    		if pod.Spec.Volumes[i].PersistentVolumeClaim != nil {
    			pod.Spec.Volumes[i].PersistentVolumeClaim.ClaimName = "foo"
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
Back to top