Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for getSvg (0.12 sec)

  1. pkg/config/schema/kubetypes/common.go

    )
    
    func MustGVRFromType[T runtime.Object]() schema.GroupVersionResource {
    	if gk, ok := getGvk(ptr.Empty[T]()); ok {
    		gr, ok := gvk.ToGVR(gk)
    		if !ok {
    			panic(fmt.Sprintf("unknown GVR for GVK %v", gk))
    		}
    		return gr
    	}
    	if rp := typemap.Get[RegisterType[T]](registeredTypes); rp != nil {
    		return (*rp).GetGVR()
    	}
    	panic("unknown kind: " + ptr.TypeName[T]())
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. pkg/config/schema/kubeclient/common.go

    	gvr   schema.GroupVersionResource
    	gvk   config.GroupVersionKind
    }
    
    func (t *internalTypeReg[T]) GetGVK() config.GroupVersionKind {
    	return t.gvk
    }
    
    func (t *internalTypeReg[T]) GetGVR() schema.GroupVersionResource {
    	return t.gvr
    }
    
    func (t *internalTypeReg[T]) ListWatch(c ClientGetter, o ktypes.InformerOptions) cache.ListerWatcher {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/post_quantize.cc

          if (auto qtype =
                  QuantizedType::getQuantizedElementType(q.getArg().getType())) {
            rewriter.setInsertionPoint(op);
            rewriter.replaceOpWithNewOp<quantfork::DequantizeCastOp>(
                op, op.getResult().getType(), q.getArg());
            return success();
          }
    
          op.replaceAllUsesWith(q.getArg());
          return success();
        }
        return failure();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/runtime/os_aix.go

    // This will return a pointer to errno.
    func miniterrno() {
    	mp := getg().m
    	r, _ := syscall0(&libc__Errno)
    	mp.perrno = r
    
    }
    
    func minit() {
    	miniterrno()
    	minitSignals()
    	getg().m.procid = uint64(pthread_self())
    }
    
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go

    	// Get object that doesn't exist
    	pv, err := cache.GetPV("nothere")
    	if err == nil {
    		t.Errorf("GetPV() returned unexpected success")
    	}
    	if pv != nil {
    		t.Errorf("GetPV() returned unexpected PV %q", pv.Name)
    	}
    
    	// Add a bunch of PVs
    	pvs := map[string]*v1.PersistentVolume{}
    	for i := 0; i < 10; i++ {
    		pv := makePV(fmt.Sprintf("test-pv%v", i), "").withVersion("1").PersistentVolume
    		pvs[pv.Name] = pv
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. pkg/api/persistentvolumeclaim/util_test.go

    			enableRecoverVolumeExpansionFailure: false,
    			enableVolumeAttributesClass:         false,
    			pvc:                                 withAllocatedResource("5G"),
    			oldPVC:                              getPVC(),
    			expected:                            getPVC(),
    		},
    		{
    			name:                                "for:newPVC=hasAllocatedResource,oldPVC=doesnot,featuregate=RecoverVolumeExpansionFailure=true; should keep field",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

                RequirementMatcher matcher = provides.get(key);
    
                if (matcher == null) {
                    getLog().debug("Toolchain {} is missing required property: {}", this, key);
                    return false;
                }
                if (!matcher.matches(requirement.getValue())) {
                    getLog().debug("Toolchain {} doesn't match required property: {}", this, key);
                    return false;
                }
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/ir/ConvertConst.cc

    LogicalResult QuantizedConstRewrite::matchAndRewrite(
        QuantizeCastOp qbarrier, PatternRewriter &rewriter) const {
      Attribute value;
    
      // Is the operand a constant?
      if (!matchPattern(qbarrier.getArg(), m_Constant(&value))) {
        return failure();
      }
    
      // Does the qbarrier convert to a quantized type. This will not be true
      // if a quantized type has not yet been chosen or if the cast to an equivalent
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyContextManager.java

                try {
                    return action.transform(IvyContext.getContext().getIvy());
                } finally {
                    depth.set(currentDepth);
                }
            }
    
            IvyContext.pushNewContext();
            try {
                depth.set(1);
                try {
                    Ivy ivy = getIvy();
                    try {
                        IvyContext.getContext().setIvy(ivy);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

        if (preceding_cast.getArg().getDefiningOp()) {
          auto redundant_cast = preceding_cast.getArg().getDefiningOp<CastOp>();
          if (!redundant_cast || redundant_cast.getArg().getType() !=
                                     preceding_cast.getOut().getType()) {
            return failure();
          }
          raw_data_op.getOutput().replaceAllUsesWith(redundant_cast.getArg());
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
Back to top