Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 857 for Nil$ (0.06 sec)

  1. cmd/perf-tests.go

    	for index := range globalNotificationSys.peerClients {
    		if globalNotificationSys.peerClients[index] == nil {
    			continue
    		}
    		go func(index int) {
    			for i := 0; i < connectionsPerPeer; i++ {
    				wg.Add(1)
    				go func() {
    					defer wg.Done()
    					err := globalNotificationSys.peerClients[index].DevNull(ctx, r)
    					if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. cmd/streaming-v4-unsigned.go

    				return errMalformedEncoding
    			}
    			if err != nil {
    				return err
    			}
    		}
    		return nil
    	}
    	var size int
    	for {
    		b, err := cr.reader.ReadByte()
    		if err == io.EOF {
    			err = io.ErrUnexpectedEOF
    		}
    		if err != nil {
    			cr.err = err
    			return n, cr.err
    		}
    		if b == '\r' { // \r\n denotes end of size.
    			err := mustRead('\n')
    			if err != nil {
    				cr.err = err
    				return n, cr.err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. cmd/batch-replicate_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.AccessKey)
    	if err != nil {
    		err = msgp.WrapError(err, "AccessKey")
    		return
    	}
    	// write "SecretKey"
    	err = en.Append(0xa9, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.SecretKey)
    	if err != nil {
    		err = msgp.WrapError(err, "SecretKey")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  4. cmd/signals.go

    		cancelGlobalContext()
    
    		if httpServer := newHTTPServerFn(); httpServer != nil {
    			if err := httpServer.Shutdown(); err != nil && !errors.Is(err, http.ErrServerClosed) {
    				shutdownLogIf(context.Background(), err)
    			}
    		}
    
    		if objAPI := newObjectLayerFn(); objAPI != nil {
    			shutdownLogIf(context.Background(), objAPI.Shutdown(context.Background()))
    		}
    
    		if globalBrowserEnabled {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:02:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. docs/debugging/s3-verify/main.go

    )
    
    func buildS3Client(endpoint, accessKey, secretKey string, insecure bool) (*minio.Client, error) {
    	u, err := url.Parse(endpoint)
    	if err != nil {
    		return nil, err
    	}
    
    	secure := strings.EqualFold(u.Scheme, "https")
    	transport, err := minio.DefaultTransport(secure)
    	if err != nil {
    		return nil, err
    	}
    	if insecure {
    		// skip TLS verification
    		transport.TLSClientConfig.InsecureSkipVerify = true
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-rebalance_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "StoppedAt")
    		return
    	}
    	// write "id"
    	err = en.Append(0xa2, 0x69, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.ID)
    	if err != nil {
    		err = msgp.WrapError(err, "ID")
    		return
    	}
    	// write "pf"
    	err = en.Append(0xa2, 0x70, 0x66)
    	if err != nil {
    		return
    	}
    	err = en.WriteFloat64(z.PercentFreeGoal)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. cmd/config-current_test.go

    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	objLayer, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    
    	if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
    		t.Fatalf("Init Test config failed")
    	}
    
    	if globalSite.Region() != globalMinioDefaultRegion {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. internal/kms/dek_test.go

    		text, err := test.Key.MarshalText()
    		if err != nil {
    			t.Fatalf("Test %d: failed to marshal DEK: %v", i, err)
    		}
    
    		var key DEK
    		if err = key.UnmarshalText(text); err != nil {
    			t.Fatalf("Test %d: failed to unmarshal DEK: %v", i, err)
    		}
    		if key.Plaintext != nil {
    			t.Fatalf("Test %d: unmarshaled DEK contains non-nil plaintext", i)
    		}
    		if !bytes.Equal(key.Ciphertext, test.Key.Ciphertext) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. cmd/server-main.go

    	if err = yaml.Unmarshal(rd, &cfCommon); err != nil {
    		return err
    	}
    
    	configCommonToSrvCtx(cfCommon, ctxt)
    
    	v, err := env.GetInt(EnvErasureSetDriveCount, 0)
    	if err != nil {
    		return err
    	}
    	setDriveCount := uint64(v)
    
    	var pools []poolArgs
    	switch cv.Version {
    	case "v1":
    		cfV1 := config.ServerConfigV1{}
    		if err = yaml.Unmarshal(rd, &cfV1); err != nil {
    			return err
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  10. internal/s3select/sql/utils.go

    		len(e.And[0].Condition) > 1 ||
    		e.And[0].Condition[0].Not != nil ||
    		e.And[0].Condition[0].Operand.ConditionRHS != nil {
    		return "", false
    	}
    
    	operand := e.And[0].Condition[0].Operand.Operand
    	if operand.Right != nil ||
    		operand.Left.Right != nil ||
    		operand.Left.Left.Negated != nil ||
    		operand.Left.Left.Primary.JPathExpr == nil {
    		return "", false
    	}
    
    	// Check if path expression ends in a key
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Nov 10 16:12:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
Back to top