Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for returns_ (0.46 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    type examples struct {
    	client rest.Interface
    	ns     string
    }
    
    // newExamples returns a Examples
    func newExamples(c *CrV1Client, namespace string) *examples {
    	return &examples{
    		client: c.RESTClient(),
    		ns:     namespace,
    	}
    }
    
    // Get takes name of the example, and returns the corresponding example object, and an error if there is any.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils.go

    		// blindly such insecure clients only if
    		// S3 strict compatibility is disabled.
    
    		// We return true only in situations when
    		// deployment has asked MinIO to allow for
    		// such broken clients and content-length > 0.
    		return r.ContentLength > 0 && !globalServerCtxt.StrictS3Compat
    	}
    	return false
    }
    
    // Returns SHA256 for calculating canonical-request.
    func getContentSha256Cksum(r *http.Request, stype serviceType) string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    	"k8s.io/kubernetes/cmd/kubeadm/app/constants"
    )
    
    // Funcs returns the fuzzer functions for the kubeadm apis.
    func Funcs(codecs runtimeserializer.CodecFactory) []interface{} {
    	return []interface{}{
    		fuzzInitConfiguration,
    		fuzzClusterConfiguration,
    		fuzzComponentConfigMap,
    		fuzzDNS,
    		fuzzNodeRegistration,
    		fuzzLocalEtcd,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta3/conversion.go

    	if in == nil {
    		return nil
    	}
    	args := make([]kubeadm.Arg, 0, len(in))
    	for k, v := range in {
    		args = append(args, kubeadm.Arg{Name: k, Value: v})
    	}
    	sort.Slice(args, func(i, j int) bool {
    		if args[i].Name == args[j].Name {
    			return args[i].Value < args[j].Value
    		}
    		return args[i].Name < args[j].Name
    	})
    	return args
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. pilot/pkg/bootstrap/options.go

    	}
    	for _, cipher := range tls.CipherSuites() {
    		acceptedCiphers[cipher.Name] = cipher.ID
    	}
    	return acceptedCiphers
    }
    
    // TLSCipherSuites returns a list of cipher suite IDs from the cipher suite names passed.
    func TLSCipherSuites(cipherNames []string) ([]uint16, error) {
    	if len(cipherNames) == 0 {
    		return nil, nil
    	}
    	ciphersIntSlice := make([]uint16, 0)
    	possibleCiphers := allCiphers()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. pilot/pkg/xds/deltatest.go

    	if current == nil {
    		log.Debugf("ADS:%s: resources initialized", v3.GetShortType(w.TypeUrl))
    		return
    	}
    	if deltaRes == nil && deleted == nil && len(sotwRes) == 0 {
    		// TODO: it suspicious full is never nil - are there case where we should be deleting everything?
    		// Both SotW and Delta did not respond, nothing to compare
    		return
    	}
    	newByName := slices.GroupUnique(sotwRes, (*discovery.Resource).GetName)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

        if (TF_GetCode(c_status.get()) != TF_OK) {
          LOG(ERROR) << TF_Message(c_status.get());
          return 0;
        }
        return visible_device_count;
      }
      bool UseBfcAllocator() const { return platform_.use_bfc_allocator; }
      bool ForceMemoryGrowth() const { return platform_.force_memory_growth; }
      absl::StatusOr<std::unique_ptr<DeviceDescription>> DescriptionForDevice(
          int ordinal) const override;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/policies.go

    		if pol == nil {
    			return nil
    		}
    		return &model.WorkloadAuthorization{
    			Authorization: pol,
    			LabelSelector: model.NewSelector(i.Spec.GetSelector().GetMatchLabels()),
    		}
    	}, krt.WithName("PeerAuthDerivedPolicies"))
    
    	ImplicitWaypointPolicies := krt.NewCollection(Waypoints, func(ctx krt.HandlerContext, waypoint Waypoint) *model.WorkloadAuthorization {
    		return implicitWaypointPolicy(ctx, MeshConfig, waypoint)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. pkg/revisions/tag_watcher.go

    			rev := o.GetLabels()[label.IoIstioRev.Name]
    			if rev == "" {
    				return nil
    			}
    			return []string{rev}
    		}, controllers.ObjectHandler(p.queue.AddObject))
    	return p
    }
    
    func (p *tagWatcher) Run(stopCh <-chan struct{}) {
    	if !kube.WaitForCacheSync("tag watcher", stopCh, p.webhooks.HasSynced) {
    		return
    	}
    	// Notify handlers of initial state
    	p.notifyHandlers()
    	p.queue.Run(stopCh)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta4/conversion.go

    	err := autoConvert_v1beta4_InitConfiguration_To_kubeadm_InitConfiguration(in, out, s)
    	if err != nil {
    		return err
    	}
    	err = Convert_v1beta4_ClusterConfiguration_To_kubeadm_ClusterConfiguration(&ClusterConfiguration{}, &out.ClusterConfiguration, s)
    	out.ClusterConfiguration.APIServer.TimeoutForControlPlane = nil
    	return err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top