Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 908 for Base (0.03 sec)

  1. cmd/batch-replicate.go

    type BatchJobReplicateResourceType string
    
    // Validate validates if the replicate resource type is recognized and supported
    func (t BatchJobReplicateResourceType) Validate() error {
    	switch t {
    	case BatchJobReplicateResourceMinIO:
    	case BatchJobReplicateResourceS3:
    	default:
    		return errInvalidArgument
    	}
    	return nil
    }
    
    func (t BatchJobReplicateResourceType) isMinio() bool {
    	return t == BatchJobReplicateResourceMinIO
    }
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-utils.go

    		if err := xlMeta.LoadOrConvert(xlMetaBuf); err != nil {
    			return FileInfoVersions{}, err
    		}
    		versions, err = xlMeta.ListVersions(volume, path, allParts)
    	}
    	if err == nil && len(versions) == 0 {
    		// This special case is needed to handle len(xlMeta.versions) == 0
    		versions = []FileInfo{
    			{
    				Volume:   volume,
    				Name:     path,
    				Deleted:  true,
    				IsLatest: true,
    				ModTime:  timeSentinel1970,
    			},
    		}
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. clause/insert_test.go

    		{
    			[]clause.Interface{clause.Insert{Table: clause.Table{Name: "products"}, Modifier: "LOW_PRIORITY"}},
    			"INSERT LOW_PRIORITY INTO `products`", nil,
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 737 bytes
    - Viewed (0)
  4. cmd/common-main.go

    	switch {
    	case ctx.IsSet("config-dir"):
    		ctxt.ConfigDir = ctx.String("config-dir")
    		ctxt.configDirSet = true
    	case ctx.GlobalIsSet("config-dir"):
    		ctxt.ConfigDir = ctx.GlobalString("config-dir")
    		ctxt.configDirSet = true
    	}
    
    	switch {
    	case ctx.IsSet("certs-dir"):
    		ctxt.CertsDir = ctx.String("certs-dir")
    		ctxt.certsDirSet = true
    	case ctx.GlobalIsSet("certs-dir"):
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/debugging.md

    ```
    
    will run.
    
    ---
    
    This won't happen if you import that module (file).
    
    So, if you have another file `importer.py` with:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    in that case, the automatically created variable inside of `myapp.py` will not have the variable `__name__` with a value of `"__main__"`.
    
    So, the line:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. utils/tests/dummy_dialecter.go

    		continuousBacktick      int8
    		shiftDelimiter          int8
    	)
    
    	for _, v := range []byte(str) {
    		switch v {
    		case '`':
    			continuousBacktick++
    			if continuousBacktick == 2 {
    				writer.WriteString("``")
    				continuousBacktick = 0
    			}
    		case '.':
    			if continuousBacktick > 0 || !selfQuoted {
    				shiftDelimiter = 0
    				underQuoted = false
    				continuousBacktick = 0
    				writer.WriteByte('`')
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Mar 06 06:03:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. clause/returning_test.go

    				[]clause.Column{{Name: "name"}, {Name: "age"}},
    			}},
    			"SELECT * FROM `users` RETURNING `users`.`id`,`name`,`age`", nil,
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 845 bytes
    - Viewed (0)
  8. internal/grid/handlers.go

    					for {
    						select {
    						case <-ctx.Done():
    							return
    						case v, ok := <-in:
    							if !ok {
    								return
    							}
    							input := h.NewRequest()
    							_, err := input.UnmarshalMsg(v)
    							if err != nil {
    								gridLogOnceIf(ctx, err, err.Error())
    							}
    							PutByteBuffer(v)
    							// Send input
    							select {
    							case <-ctx.Done():
    								return
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  9. cmd/endpoint_test.go

    	}
    
    	for i, test := range testCases {
    		t.Run(fmt.Sprint("case-", i), func(t *testing.T) {
    			endpoint, err := NewEndpoint(test.arg)
    			if err == nil {
    				err = endpoint.UpdateIsLocal()
    			}
    
    			switch {
    			case test.expectedErr == nil:
    				if err != nil {
    					t.Errorf("error: expected = <nil>, got = %v", err)
    				}
    			case err == nil:
    				t.Errorf("error: expected = %v, got = <nil>", test.expectedErr)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. docs/multi-user/README.md

    - `aws:groups` - This is an array containing the group names, this value would point to group mappings for the user, use `jwt:groups` in case of OpenID connect and `ldap:groups` in case of AD/LDAP.
    
    ## Explore Further
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top