Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 572 for Case (0.14 sec)

  1. cmd/utils_test.go

    		path           string
    		bucket, object string
    	}{
    		// Test case 1 normal case.
    		{
    			path:   "/bucket/object",
    			bucket: "bucket",
    			object: "object",
    		},
    		// Test case 2 where url only has separator.
    		{
    			path:   SlashSeparator,
    			bucket: "",
    			object: "",
    		},
    		// Test case 3 only bucket is present.
    		{
    			path:   "/bucket",
    			bucket: "bucket",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. clause/where.go

    			}
    		}
    
    		if len(exprs) > 1 {
    			switch v := expr.(type) {
    			case OrConditions:
    				if len(v.Exprs) == 1 {
    					if e, ok := v.Exprs[0].(Expr); ok {
    						sql := strings.ToUpper(e.SQL)
    						wrapInParentheses = strings.Contains(sql, AndWithSpace) || strings.Contains(sql, OrWithSpace)
    					}
    				}
    			case AndConditions:
    				if len(v.Exprs) == 1 {
    					if e, ok := v.Exprs[0].(Expr); ok {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  3. cmd/bootstrap-peer-server_gen.go

    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "NEndpoints":
    			z.NEndpoints, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "NEndpoints")
    				return
    			}
    		case "CmdLines":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "CmdLines")
    				return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 24 21:36:44 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. cmd/metacache-walk.go

    			objsReturned++
    		}
    	}
    	send := func(entry metaCacheEntry) error {
    		objReturned(entry.metadata)
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case out <- entry:
    		}
    		return nil
    	}
    
    	// Fast exit track to check if we are listing an object with
    	// a trailing slash, this will avoid to list the object content.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. cmd/bucket-metadata-sys.go

    		}
    	}
    	updatedAt = UTCNow()
    	switch configFile {
    	case bucketPolicyConfig:
    		meta.PolicyConfigJSON = configData
    		meta.PolicyConfigUpdatedAt = updatedAt
    	case bucketNotificationConfig:
    		meta.NotificationConfigXML = configData
    	case bucketLifecycleConfig:
    		meta.LifecycleConfigXML = configData
    		meta.LifecycleConfigUpdatedAt = updatedAt
    	case bucketSSEConfig:
    		meta.EncryptionConfigXML = configData
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers.go

    			})
    		}
    	}
    }
    
    func (s *InformerHandlers) reconcile(input any) error {
    	event := input.(controllers.Event)
    	switch event.Latest().(type) {
    	case *corev1.Namespace:
    		return s.reconcileNamespace(input)
    	case *corev1.Pod:
    		return s.reconcilePod(input)
    	default:
    		return fmt.Errorf("unexpected event type: %+v", input)
    	}
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    		case 1:
    			t.Go = c.uint8
    		case 2:
    			t.Go = c.uint16
    		case 4:
    			t.Go = c.uint32
    		case 8:
    			t.Go = c.uint64
    		case 1 + signedDelta:
    			t.Go = c.int8
    		case 2 + signedDelta:
    			t.Go = c.int16
    		case 4 + signedDelta:
    			t.Go = c.int32
    		case 8 + signedDelta:
    			t.Go = c.int64
    		}
    
    	case *dwarf.FloatType:
    		switch t.Size {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. internal/s3select/sql/analysis.go

    	}
    	return
    }
    
    func (e *ConditionRHS) analyze(s *Select) (result qProp) {
    	switch {
    	case e.Compare != nil:
    		result = e.Compare.Operand.analyze(s)
    	case e.Between != nil:
    		result.combine(e.Between.Start.analyze(s))
    		result.combine(e.Between.End.analyze(s))
    	case e.In != nil:
    		result.combine(e.In.analyze(s))
    	case e.Like != nil:
    		result.combine(e.Like.Pattern.analyze(s))
    		if e.Like.EscapeChar != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  9. cmd/signature-v4-parser_test.go

    		expectedCredentials credentialHeader
    		expectedErrCode     APIErrorCode
    	}{
    		// Test Case - 1.
    		// Test case with no '=' in te inputCredentialStr.
    		{
    			inputCredentialStr:  "Credential",
    			expectedCredentials: credentialHeader{},
    			expectedErrCode:     ErrMissingFields,
    		},
    		// Test Case - 2.
    		// Test case with no "Credential" string in te inputCredentialStr.
    		{
    			inputCredentialStr:  "Cred=",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  10. istioctl/cmd/istioctl_test.go

    	fErr := rootCmd.Execute()
    
    	switch fErr.(type) {
    	case istioctlutil.CommandParseError:
    		// do nothing
    	default:
    		t.Errorf("Expected a CommandParseError, but got %q.", fErr)
    	}
    
    	// we should propagate to subcommands
    	rootCmd = GetRootCmd([]string{"analyze", "--unknown-flag"})
    	fErr = rootCmd.Execute()
    
    	switch fErr.(type) {
    	case istioctlutil.CommandParseError:
    		// do nothing
    	default:
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Aug 29 14:53:25 GMT 2023
    - 1.5K bytes
    - Viewed (0)
Back to top