Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 165 for makeID (0.11 sec)

  1. src/crypto/tls/bogo_shim_test.go

    		if err != nil {
    			log.Fatalf("dial err: %s", err)
    		}
    		defer conn.Close()
    
    		// Write the shim ID we were passed as a little endian uint64
    		shimIDBytes := make([]byte, 8)
    		byteorder.LePutUint64(shimIDBytes, *shimID)
    		if _, err := conn.Write(shimIDBytes); err != nil {
    			log.Fatalf("failed to write shim id: %s", err)
    		}
    
    		var tlsConn *Conn
    		if *server {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/conversion.go

    		result = append(result, buildTLSVirtualService(r, obj)...)
    	}
    
    	// for gateway routes, build one VS per gateway+host
    	gatewayRoutes := make(map[string]map[string]*config.Config)
    	// for mesh routes, build one VS per namespace+host
    	meshRoutes := make(map[string]map[string]*config.Config)
    	for _, obj := range r.HTTPRoute {
    		buildHTTPVirtualServices(r, obj, gatewayRoutes, meshRoutes)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. cmd/erasure-healing_test.go

    				t.Fatal(err)
    			}
    			bucket := "bucket"
    			object := "object"
    
    			data := make([]byte, test.dataSize)
    			_, err = rand.Read(data)
    			if err != nil {
    				t.Fatal(err)
    			}
    			var opts ObjectOptions
    
    			err = obj.MakeBucket(ctx, bucket, MakeBucketOptions{})
    			if err != nil {
    				t.Fatalf("Failed to make a bucket - %v", err)
    			}
    
    			_, err = obj.PutObject(ctx, bucket, object,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  4. pkg/printers/internalversion/printers_test.go

    		},
    		{
    			// Test pod has 1 init container restarting and 1 container not running
    			api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "test7"},
    				Spec:       api.PodSpec{InitContainers: make([]api.Container, 1), Containers: make([]api.Container, 1)},
    				Status: api.PodStatus{
    					Phase: "podPhase",
    					InitContainerStatuses: []api.ContainerStatus{
    						{
    							Ready:                false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  5. cmd/object-api-options.go

    			argumentValue = tag
    			valid = false
    			return
    		}
    	}
    
    	return
    }
    
    func parseObjectAttributes(h http.Header) (attributes map[string]struct{}) {
    	attributes = make(map[string]struct{})
    	for _, v := range strings.Split(strings.TrimSpace(h.Get(xhttp.AmzObjectAttributes)), ",") {
    		if v != "" {
    			attributes[v] = struct{}{}
    		}
    	}
    
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    	if len(md5sumCurr) == 0 {
    		// md5sumCurr is only empty when we are running
    		// in non-compatibility mode.
    		md5sumCurr = make([]byte, 16)
    		rand.Read(md5sumCurr)
    		appendHyphen = true
    	}
    	if p.sealMD5Fn != nil {
    		md5sumCurr = p.sealMD5Fn(md5sumCurr)
    	}
    	if appendHyphen {
    		// Make sure to return etag string upto 32 length, for SSE
    		// requests ETag might be longer and the code decrypting the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/options.go

    	if err != nil {
    		return err
    	}
    	p.ServerOptions.TLSOptions.CipherSuits = cipherSuits
    	return nil
    }
    
    func allCiphers() map[string]uint16 {
    	acceptedCiphers := make(map[string]uint16, len(tls.CipherSuites())+len(tls.InsecureCipherSuites()))
    	for _, cipher := range tls.InsecureCipherSuites() {
    		acceptedCiphers[cipher.Name] = cipher.ID
    	}
    	for _, cipher := range tls.CipherSuites() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    		ctx:          ctx,
    		objLayer:     o,
    		jobCh:        make(chan *BatchJobRequest, 10000),
    		workerKillCh: make(chan struct{}, workers),
    		jobCancelers: make(map[string]context.CancelFunc),
    	}
    	jpool.ResizeWorkers(workers)
    	jpool.resume()
    	return jpool
    }
    
    func (j *BatchJobPool) resume() {
    	results := make(chan itemOrErr[ObjectInfo], 100)
    	ctx, cancel := context.WithCancel(j.ctx)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/v1beta3/conversion.go

    // Te resulting argument slice is sorted alpha-numerically.
    func convertToArgs(in map[string]string) []kubeadm.Arg {
    	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 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            is FirPlaceholderProjection -> null
            else -> null
        }
    
        /**
         * It only makes sense to provide type for the references which reference some actual properties/variables.
         *
         * In cases when the name reference references a function (a REAL function, not a functional type variable), it does not
         * make sense to provide any type for it.
         *
         * ---
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top