Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for detect (0.18 sec)

  1. internal/s3select/select_test.go

    		},
    		{
    			name:       "select-time-direct",
    			input:      testInput,
    			query:      `SELECT time from s3object s WHERE id = 2`,
    			wantResult: `{"time":"2017-01-02T03:04Z"}`,
    		},
    		{
    			name:       "select-int-direct",
    			input:      testInput,
    			query:      `SELECT num from s3object s WHERE id = 2`,
    			wantResult: `{"num":"-5"}`,
    		},
    		{
    			name:       "select-float-direct",
    			input:      testInput,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    }
    
    // checkODirectDiskSupport asks the disk to write some data
    // with O_DIRECT support, return an error if any and return
    // errUnsupportedDisk if there is no O_DIRECT support
    func (s *xlStorage) checkODirectDiskSupport(fsType string) error {
    	if !disk.ODirectPlatform {
    		return errUnsupportedDisk
    	}
    
    	// We know XFS already supports O_DIRECT no need to check.
    	if fsType == "XFS" {
    		return nil
    	}
    
    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)
  3. cmd/iam-store.go

    			if _, found := cache.iamPolicyDocsMap[p]; !found {
    				err = errNoSuchPolicy
    				return
    			}
    		}
    		newPolicySet = existingPolicySet.Union(policiesToUpdate)
    	} else {
    		// policies to detach => inputPolicies ∩ existing (intersection)
    		policiesToUpdate = policiesToUpdate.Intersection(existingPolicySet)
    		newPolicySet = existingPolicySet.Difference(policiesToUpdate)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  4. cmd/iam.go

    		return nil, errServerNotInitialized
    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.GetBucketUsers(bucket)
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // ListUsers - list all users.
    func (sys *IAMSys) ListUsers(ctx context.Context) (map[string]madmin.UserInfo, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    	select {
    	case <-sys.configLoaded:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. istioctl/pkg/describe/describe.go

    		}
    	}
    }
    
    func findProtocolForPort(port *corev1.ServicePort) string {
    	var protocol string
    	if port.Name == "" && port.AppProtocol == nil && port.Protocol != corev1.ProtocolUDP {
    		protocol = "auto-detect"
    	} else {
    		protocol = string(configKube.ConvertProtocol(port.Port, port.Name, port.Protocol, port.AppProtocol))
    	}
    	return protocol
    }
    
    func isMeshed(pod *corev1.Pod) bool {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    	const BufSize = 1000
    	b := NewReaderSize(strings.NewReader("hello world"), BufSize)
    	// Does it recognize itself?
    	b1 := NewReaderSize(b, BufSize)
    	if b1 != b {
    		t.Error("NewReaderSize did not detect underlying Reader")
    	}
    	// Does it wrap if existing buffer is too small?
    	b2 := NewReaderSize(b, 2*BufSize)
    	if b2 == b {
    		t.Error("NewReaderSize did not enlarge buffer")
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    	xlVersionMajor = 1
    
    	// Non breaking changes.
    	// Bumping this is informational, but should be done
    	// if any change is made to the data stored, bumping this
    	// will allow to detect the exact version later.
    	xlVersionMinor = 3
    )
    
    func init() {
    	binary.LittleEndian.PutUint16(xlVersionCurrent[0:2], xlVersionMajor)
    	binary.LittleEndian.PutUint16(xlVersionCurrent[2:4], xlVersionMinor)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  8. cmd/admin-handlers-users.go

    	}
    
    	var updReq madmin.GroupAddRemove
    	err = json.Unmarshal(data, &updReq)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    
    	// Reject if the group add and remove are temporary credentials, or root credential.
    	for _, member := range updReq.Members {
    		ok, _, err := globalIAMSys.IsTempUser(member)
    		if err != nil && err != errNoSuchUser {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top