Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for i$ (0.05 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      std::vector<SignatureDefData> result(1);
      for (int i = 0; i < input_names.size(); ++i) {
        result[0].inputs[sig_def_inputs[i]] = input_names[i].str();
      }
      for (int i = 0; i < output_names.size(); ++i) {
        // Fetch the name from the actual operand and not rely on names from
        // outputs as deduping can make them invalid after conversion.
        auto& operand = term->getOpOperand(i);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
      }
    
      private static class FunctionSpy<I, O> implements Function<I, O> {
        private int applyCount;
        private final Function<I, O> delegate;
    
        public FunctionSpy(Function<I, O> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public O apply(I input) {
          applyCount++;
          return delegate.apply(input);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
      }
    
      private static class FunctionSpy<I, O> implements Function<I, O> {
        private int applyCount;
        private final Function<I, O> delegate;
    
        public FunctionSpy(Function<I, O> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public O apply(I input) {
          applyCount++;
          return delegate.apply(input);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Creates a {@code HashMap} instance, with a high enough "initial capacity" that it <i>should</i>
       * hold {@code expectedSize} elements without growth. This behavior cannot be broadly guaranteed,
       * but it is observed to be true for OpenJDK 1.7. It also can't be guaranteed that the method
       * isn't inadvertently <i>oversizing</i> the returned map.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	defer destroyFunc()
    
    	seqNameGenerator := &sequentialNameGenerator{}
    	registry.CreateStrategy = &testRESTStrategy{scheme, seqNameGenerator, true, false, true}
    
    	for i := 0; i < 7; i++ {
    		_, err := registry.Create(testContext, namedObj(i), rest.ValidateAllObjectFunc, &metav1.CreateOptions{})
    		if err != nil {
    			t.Errorf("Unexpected error: %v", err)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_test.go

    		Namespace:         pod.Namespace,
    		ContainerStatuses: cStatuses,
    	}
    	for i := 0; i < 5; i++ {
    		apiStatus := kubelet.generateAPIPodStatus(pod, status, false)
    		for i, c := range apiStatus.ContainerStatuses {
    			if expectedOrder[i] != c.Name {
    				t.Fatalf("Container status not sorted, expected %v at index %d, but found %v", expectedOrder[i], i, c.Name)
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  7. pkg/scheduler/schedule_one_test.go

    		initialPods  []runtime.Object
    	)
    
    	for i := 0; i < initialNodeNumber; i++ {
    		nodeName := fmt.Sprintf("node%d", i)
    		initialNodes = append(initialNodes, st.MakeNode().Name(nodeName).UID(nodeName).Obj())
    	}
    	// Randomly scatter initial pods onto nodes.
    	for i := 0; i < initialPodNumber; i++ {
    		podName := fmt.Sprintf("scheduled-pod%d", i)
    		assignedNodeName := fmt.Sprintf("node%d", random.Intn(initialNodeNumber))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  8. src/crypto/x509/x509_test.go

    	}
    
    	for i, extension := range csr.Extensions {
    		if !extension.Id.Equal(expected[i].Id) {
    			t.Fatalf("extension #%d has unexpected type %v (expected %v)", i, extension.Id, expected[i].Id)
    		}
    
    		if !bytes.Equal(extension.Value, expected[i].Value) {
    			t.Fatalf("extension #%d has unexpected contents %x (expected %x)", i, extension.Value, expected[i].Value)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  9. src/runtime/proc.go

    	}
    	for i := uint32(0); i < n; i++ {
    		batch[i] = pp.runq[(h+i)%uint32(len(pp.runq))].ptr()
    	}
    	if !atomic.CasRel(&pp.runqhead, h, h+n) { // cas-release, commits consume
    		return false
    	}
    	batch[n] = gp
    
    	if randomizeScheduler {
    		for i := uint32(1); i <= n; i++ {
    			j := cheaprandn(i + 1)
    			batch[i], batch[j] = batch[j], batch[i]
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm64/asm7.go

    		return
    	}
    
    	for i := 0; i < C_GOK; i++ {
    		for j := 0; j < C_GOK; j++ {
    			if cmp(j, i) {
    				xcmp[i][j] = true
    			}
    		}
    	}
    
    	sort.Sort(ocmp(optab))
    	for i := 0; i < len(optab); i++ {
    		as, start := optab[i].as, i
    		for ; i < len(optab)-1; i++ {
    			if optab[i+1].as != as {
    				break
    			}
    		}
    		t := optab[start : i+1]
    		oprangeset(as, t)
    		switch as {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
Back to top