Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 62 for SLICE (0.28 sec)

  1. pkg/proxy/iptables/proxier.go

    // is observed.
    func (proxier *Proxier) OnEndpointSliceAdd(endpointSlice *discovery.EndpointSlice) {
    	if proxier.endpointsChanges.EndpointSliceUpdate(endpointSlice, false) && proxier.isInitialized() {
    		proxier.Sync()
    	}
    }
    
    // OnEndpointSliceUpdate is called whenever modification of an existing endpoint
    // slice object is observed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/framework.go

    	"k8s.io/kubernetes/pkg/scheduler/apis/config"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    	"k8s.io/kubernetes/pkg/scheduler/framework/parallelize"
    	"k8s.io/kubernetes/pkg/scheduler/metrics"
    	"k8s.io/kubernetes/pkg/util/slice"
    )
    
    const (
    	// Specifies the maximum timeout a permit plugin can return.
    	maxTimeout = 15 * time.Minute
    )
    
    // frameworkImpl is the component responsible for initializing and running scheduler
    // plugins.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    			}
    		})
    	}
    }
    
    func sortServices(services []*model.Service) {
    	sort.Slice(services, func(i, j int) bool { return services[i].Hostname < services[j].Hostname })
    	for _, service := range services {
    		sortPorts(service.Ports)
    	}
    }
    
    func sortServiceTargets(instances []model.ServiceTarget) {
    	sort.Slice(instances, func(i, j int) bool {
    		if instances[i].Service.Hostname == instances[j].Service.Hostname {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    	policies := make(map[string]MappedPolicy, m.Size())
    	m.Range(func(k string, v MappedPolicy) bool {
    		policies[k] = v
    		return true
    	})
    	return policies
    }
    
    // converts a mapped policy into a slice of distinct policies
    func (mp MappedPolicy) toSlice() []string {
    	var policies []string
    	for _, policy := range strings.Split(mp.Policies, ",") {
    		if strings.TrimSpace(policy) == "" {
    			continue
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  5. pkg/proxy/nftables/proxier.go

    // is observed.
    func (proxier *Proxier) OnEndpointSliceAdd(endpointSlice *discovery.EndpointSlice) {
    	if proxier.endpointsChanges.EndpointSliceUpdate(endpointSlice, false) && proxier.isInitialized() {
    		proxier.Sync()
    	}
    }
    
    // OnEndpointSliceUpdate is called whenever modification of an existing endpoint
    // slice object is observed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

              'same_scale_op': (
                  'concatenate',
                  'gather',
                  'max_pool',
                  'pad',
                  'reshape',
                  'select',
                  'slice',
                  'transpose',
              ),
          }])
      )
      @test_util.run_in_graph_and_eager_modes
      def test_matmul_and_same_scale_ptq_model(
          self,
          same_scale_op: str,
      ):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  7. src/crypto/x509/x509.go

    	// were not (fully) processed when parsing. Verify will fail if this
    	// slice is non-empty, unless verification is delegated to an OS
    	// library which understands all the critical extensions.
    	//
    	// Users can access these extensions using Extensions and can remove
    	// elements from this slice if they believe that they have been
    	// handled.
    	UnhandledCriticalExtensions []asn1.ObjectIdentifier
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    		if !ok {
    			return nil, statusError(logger, fmt.Errorf("unexpected object in class parameters index: %T", objs[0]))
    		}
    		return parameters, nil
    	default:
    		sort.Slice(objs, func(i, j int) bool {
    			obj1, obj2 := objs[i].(*resourcev1alpha2.ResourceClassParameters), objs[j].(*resourcev1alpha2.ResourceClassParameters)
    			if obj1 == nil || obj2 == nil {
    				return false
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // APIGroups is the API groups the resources belong to. '*' is all groups.
      // If '*' is present, the length of the slice must be one.
      // Required.
      // +listType=atomic
      repeated string apiGroups = 1;
    
      // APIVersions is the API versions the resources belong to. '*' is all versions.
      // If '*' is present, the length of the slice must be one.
      // Required.
      // +listType=atomic
      repeated string apiVersions = 2;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. src/runtime/mprof.go

    		size += unsafe.Sizeof(blockRecord{})
    	}
    
    	b := (*bucket)(persistentalloc(size, 0, &memstats.buckhash_sys))
    	b.typ = typ
    	b.nstk = uintptr(nstk)
    	return b
    }
    
    // stk returns the slice in b holding the stack. The caller can asssume that the
    // backing array is immutable.
    func (b *bucket) stk() []uintptr {
    	stk := (*[maxProfStackDepth]uintptr)(add(unsafe.Pointer(b), unsafe.Sizeof(*b)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top