Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 310 for Res (0.02 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/common/equality_test.go

    	res := &spec.Schema{}
    	if err := d.Decode(res); err != nil {
    		panic(err)
    	}
    	return &openapi.Schema{Schema: res}
    }
    
    // Creates an *unstructured by decoding the given YAML. Panics on error
    func mustUnstructured(source string) interface{} {
    	d := yaml.NewYAMLOrJSONDecoder(strings.NewReader(source), 4096)
    	var res interface{}
    	if err := d.Decode(&res); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 21:36:46 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/p256_asm_amd64.s

    // func p256OrdLittleToBig(res *[32]byte, in *p256OrdElement)
    TEXT ·p256OrdLittleToBig(SB),NOSPLIT,$0
    	JMP ·p256BigToLittle(SB)
    /* ---------------------------------------*/
    // func p256OrdBigToLittle(res *p256OrdElement, in *[32]byte)
    TEXT ·p256OrdBigToLittle(SB),NOSPLIT,$0
    	JMP ·p256BigToLittle(SB)
    /* ---------------------------------------*/
    // func p256LittleToBig(res *[32]byte, in *p256Element)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  3. pilot/pkg/model/endpointshards.go

    			} else {
    				pn, f := portMap[ep.ServicePortName]
    				if !f {
    					continue
    				}
    				portNum = pn
    			}
    			res[portNum] = append(res[portNum], ep)
    		}
    	}
    	return res
    }
    
    func (es *EndpointShards) DeepCopy() *EndpointShards {
    	es.RLock()
    	defer es.RUnlock()
    	res := &EndpointShards{
    		Shards:          make(map[ShardKey][]*IstioEndpoint, len(es.Shards)),
    		ServiceAccounts: es.ServiceAccounts.Copy(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. docs/debugging/xl-meta/main.go

    		hh.Write(data)
    		if !bytes.Equal(want, hh.Sum(nil)) {
    			return res, fmt.Errorf("bitrot detected")
    		}
    		res = append(res, data...)
    		val = val[32+len(data):]
    		if len(res) > startOffset {
    			return res[startOffset:], nil
    		}
    	}
    	return res, fmt.Errorf("bitrot: data too short to get block. len(res)=%d, startOffset=%d", len(res), startOffset)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/instantiate.go

    	// Prefer to re-use existing types from expanding context, if it exists, to reduce
    	// the memory pinned by the Named type.
    	updateContexts := func(res Type) Type {
    		for i := len(ctxts) - 1; i >= 0; i-- {
    			res = ctxts[i].update(hashes[i], orig, targs, res)
    		}
    		return res
    	}
    
    	// typ may already have been instantiated with identical type arguments. In
    	// that case, re-use the existing instance.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    				krttest.GetMockCollection[*v1.Namespace](mock),
    				krttest.GetMockCollection[*v1.Node](mock),
    			)
    			wrapper := builder(krt.TestingDummyContext{}, tt.pod)
    			var res *workloadapi.Workload
    			if wrapper != nil {
    				res = wrapper.Workload
    			}
    			assert.Equal(t, res, tt.result)
    		})
    	}
    }
    
    func TestWorkloadEntryWorkloads(t *testing.T) {
    	cases := []struct {
    		name   string
    		inputs []any
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. pilot/pkg/xds/delta_test.go

    		t.Helper()
    		res := ads.RequestResponseAck(&discovery.DeltaDiscoveryRequest{
    			ResponseNonce:            nonce,
    			ResourceNamesSubscribe:   add,
    			ResourceNamesUnsubscribe: remove,
    		})
    		nonce = res.Nonce
    		got := xdstest.MapKeys(xdstest.ExtractLoadAssignments(xdstest.UnmarshalClusterLoadAssignment(t, xdsserver.ResourcesToAny(res.Resources))))
    		if !reflect.DeepEqual(expect, got) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. internal/event/name.go

    		}
    	case ObjectScannerAll:
    		return []Name{
    			ObjectManyVersions,
    			ObjectLargeVersions,
    			PrefixManyFolders,
    		}
    	case Everything:
    		res := make([]Name, objectSingleTypesEnd-1)
    		for i := range res {
    			res[i] = Name(i + 1)
    		}
    		return res
    	default:
    		return []Name{name}
    	}
    }
    
    // Mask returns the type as mask.
    // Compound "All" types are expanded.
    func (name Name) Mask() uint64 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. pilot/pkg/simulation/traffic.go

    		return chains
    	}
    	for i, c := range chains {
    		if match(c.GetFilterChainMatch()) {
    			log.Debugf("%v: matched chain %v/%v", desc, i, c.GetName())
    			res = append(res, c)
    		}
    	}
    	// Return all matching filter chains
    	if len(res) > 0 {
    		return res
    	}
    	// Unless there were no matches - in which case we return all filter chains that did not have a
    	// match set
    	for i, c := range chains {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

      TFRTensorType unconstrainted_type = rewriter.getType<TFRTensorType>();
      SmallVector<Value, 4> new_results;
      for (auto res : llvm::enumerate(call_op.getResultTypes())) {
        Type res_type = res.value();
        if (mlir::dyn_cast<TFRTensorType>(res_type)) {
          Value new_res = new_op->getResult(res.index());
          auto casted = rewriter.create<CastOp>(loc, res_type, new_res);
          new_results.push_back(casted.getOut());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top