Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 131 for could (0.18 sec)

  1. internal/s3select/sql/aggregation.go

    		e.aggregate.runningCount++
    
    	case aggFnAvg, aggFnSum:
    		e.aggregate.runningCount++
    		// Convert to float.
    		f, ok := argVal.ToFloat()
    		if !ok {
    			return fmt.Errorf("Could not convert value %v (%s) to a number", argVal.value, argVal.GetTypeString())
    		}
    		argVal.setFloat(f)
    		err = e.aggregate.runningSum.arithOp(opPlus, argVal)
    
    	case aggFnMin:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users_test.go

    	err = client.MakeBucket(ctx, getRandomBucketName(), minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("user could not create bucket: %v", err)
    	}
    
    	// 4. Check that user can be disabled and verify it.
    	err = s.adm.SetUserStatus(ctx, accessKey, madmin.AccountDisabled)
    	if err != nil {
    		c.Fatalf("could not set user account to disabled")
    	}
    	usersMap, err = s.adm.ListUsers(ctx)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers.go

    	s.pods.AddEventHandler(controllers.FromEventHandler(func(o controllers.Event) {
    		s.queue.Add(o)
    	}))
    
    	// Namespaces could be anything though, so we watch all of those
    	//
    	// NOTE that we are requeueing namespaces here explicitly to work around
    	// test flakes with the fake kube client in `pkg/kube/client.go` -
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common.go

    	for i, meta := range partsMetadata {
    		if fi.XLV1 == meta.XLV1 {
    			continue
    		}
    		onlineDisks[i] = nil
    	}
    }
    
    // Notes:
    // There are 5 possible states a disk could be in,
    // 1. __online__             - has the latest copy of xl.meta - returned by listOnlineDisks
    //
    // 2. __offline__            - err == errDiskNotFound
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. cmd/object_api_suite_test.go

    	bucketName := "bucket"
    	err := obj.MakeBucket(context.Background(), bucketName, MakeBucketOptions{})
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	content := "One or more of the specified parts could not be found. The part might not have been uploaded, or the specified entity tag might not have matched the part's entity tag."
    	length := int64(len(content))
    	var opts ObjectOptions
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  6. operator/cmd/mesh/shared.go

    	_, mergedIOPS, err := manifest.GenerateConfig([]string{filePath}, nil, false, nil, l)
    	if err != nil {
    		return "", "", err
    	}
    
    	b, err := os.ReadFile(filePath)
    	if err != nil {
    		return "", "", fmt.Errorf("could not read values from file %s: %s", filePath, err)
    	}
    	customResource = string(b)
    	istioNamespace = mergedIOPS.Namespace
    	return
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  7. internal/s3select/csv/reader.go

    		if r.err != nil {
    			return nil, r.err
    		}
    		// Move to next block
    		item, ok := <-r.queue
    		if !ok {
    			r.err = io.EOF
    			return nil, r.err
    		}
    		//nolint:staticcheck // SA6002 Using pointer would allocate more since we would have to copy slice header before taking a pointer.
    		r.csvDstPool.Put(r.current)
    		r.current = <-item.dst
    		r.err = item.err
    		r.recordsRead = 0
    	}
    	csvRecord := r.current[r.recordsRead]
    	r.recordsRead++
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils_test.go

    func TestExtractSignedHeaders(t *testing.T) {
    	signedHeaders := []string{"host", "x-amz-content-sha256", "x-amz-date", "transfer-encoding"}
    
    	// If the `expect` key exists in the signed headers then golang server would have stripped out the value, expecting the `expect` header set to `100-continue` in the result.
    	signedHeaders = append(signedHeaders, "expect")
    	// expected header values.
    	expectedHost := "play.min.io:9000"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    				dstBuf, err = xioutil.ReadFile(dstFilePath)
    				if err != nil && !osIsNotExist(err) {
    					return res, osErrToFileErr(err)
    				}
    			}
    		}
    	}
    
    	// Preserve all the legacy data, could be slow, but at max there can be 10,000 parts.
    	currentDataPath := pathJoin(dstVolumeDir, dstPath)
    
    	var xlMeta xlMetaV2
    	var legacyPreserved bool
    	var legacyEntries []string
    	if len(dstBuf) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. cmd/crossdomain-xml-handler.go

    // Standard path where an app would find cross domain policy information.
    const crossDomainXMLEntity = "/crossdomain.xml"
    
    // A cross-domain policy file is an XML document that grants a web client, such as Adobe Flash Player
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 06:42:40 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top