Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for srcCopy (0.19 sec)

  1. src/net/addrselect_test.go

    				inCopy[j], inCopy[k] = inCopy[k], inCopy[j]
    				srcCopy[j], srcCopy[k] = srcCopy[k], srcCopy[j]
    			}
    			sortByRFC6724withSrcs(inCopy, srcCopy)
    			if !reflect.DeepEqual(inCopy, tt.want) {
    				t.Errorf("test %d, starting backwards:\nin = %s\ngot: %s\nwant: %s\n", i, tt.in, inCopy, tt.want)
    			}
    		}
    
    	}
    
    }
    
    func TestRFC6724PolicyTableOrder(t *testing.T) {
    	for i := 0; i < len(rfc6724policyTable)-1; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 05 07:16:00 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  2. test/strcopy.go

    Brad Fitzpatrick <******@****.***> 1528820198 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 12 19:10:34 UTC 2018
    - 674 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

           $multiply_linear_by_lr,
           (Clamp $src_op,
             (TF_NegOp (TF_MulOp $l1, $lr)),
             (CreateTFReadVariableOp $src_op, $l1, $linear),
             (TF_MulOp $l1, $lr)
           ),
           (Clamp $src_op,
             (TF_NegOp $l1),
             (CreateTFReadVariableOp $src_op, $l1, $linear),
             $l1
           )
         ),
         (CreateTFReadVariableOp $src_op, $l1, $linear)
       ),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        final int len = string.length();
        char[] strCopy = new char[len * Integer.highestOneBit(count)];
        string.getChars(0, len, strCopy, 0);
    
        char[] array = new char[len * count];
    
        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
            System.arraycopy(strCopy, 0, array, pos, strCopyLen);
            pos += strCopyLen;
          }
          count >>= 1;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 17 20:24:24 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        final int len = string.length();
        char[] strCopy = new char[len * Integer.highestOneBit(count)];
        string.getChars(0, len, strCopy, 0);
    
        char[] array = new char[len * count];
    
        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
            System.arraycopy(strCopy, 0, array, pos, strCopyLen);
            pos += strCopyLen;
          }
          count >>= 1;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 17 20:24:24 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  6. pkg/kubelet/status/state/state.go

    // Clone returns a copy of PodResourceAllocation
    func (pr PodResourceAllocation) Clone() PodResourceAllocation {
    	prCopy := make(PodResourceAllocation)
    	for pod := range pr {
    		prCopy[pod] = make(map[string]v1.ResourceList)
    		for container, alloc := range pr[pod] {
    			prCopy[pod][container] = alloc.DeepCopy()
    		}
    	}
    	return prCopy
    }
    
    // Reader interface used to read current pod resource allocation state
    type Reader interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. pkg/controller/deployment/sync.go

    	if sizeNeedsUpdate || annotationsNeedUpdate {
    		oldScale := *(rs.Spec.Replicas)
    		rsCopy := rs.DeepCopy()
    		*(rsCopy.Spec.Replicas) = newScale
    		deploymentutil.SetReplicasAnnotations(rsCopy, *(deployment.Spec.Replicas), *(deployment.Spec.Replicas)+deploymentutil.MaxSurge(*deployment))
    		rs, err = dc.client.AppsV1().ReplicaSets(rsCopy.Namespace).Update(ctx, rsCopy, metav1.UpdateOptions{})
    		if err == nil && sizeNeedsUpdate {
    			scaled = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc

      void runOnOperation() override;
    };
    
    template <typename SrcOp>
    class DequantizeConverter : public OpRewritePattern<SrcOp> {
     public:
      using OpRewritePattern<SrcOp>::OpRewritePattern;
    
      LogicalResult matchAndRewrite(SrcOp srcop,
                                    PatternRewriter &rewriter) const final {
        Operation *op = srcop.getOperation();
        bool allTypesFp = true;
        bool allTypesQuantizedOrInt = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. pkg/controller/deployment/recreate_test.go

    		for n, size := range test.oldRSSizes {
    			rs := newReplicaSet(test.d, fmt.Sprintf("%s-%d", test.d.Name, n), size)
    			oldRSs = append(oldRSs, rs)
    
    			rsCopy := rs.DeepCopy()
    
    			zero := int32(0)
    			rsCopy.Spec.Replicas = &zero
    			expected = append(expected, rsCopy)
    
    			if *(oldRSs[n].Spec.Replicas) == *(expected[n].(*apps.ReplicaSet).Spec.Replicas) {
    				t.Errorf("broken test - original and expected RS have the same size")
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeSelectV2SameStaticShape : Pat<(TF_SelectV2Op:$src_op $cond, $x, $y),
        (TFL_SelectOp $cond, $x, $y),
        [(OpHasSameStaticShapes $src_op)]>;
    def LegalizeSelectV2NotSameStaticShape : Pat<
      (TF_SelectV2Op:$src_op $cond, $x, $y),
      (TFL_SelectV2Op $cond, $x, $y),
      [(OpHasNotSameStaticShapes $src_op)]>;
    def LegalizeShape : Pat<(TF_ShapeOp $arg), (TFL_ShapeOp $arg)>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top