Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Var (0.17 sec)

  1. cmd/xl-storage-format-v2_gen.go

    	s = msgp.BytesPrefixSize + len([]byte(z))
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *xlMetaDataDirDecoder) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  2. configure.py

      if not var:
        var = get_input(ask_for_var)
        print('\n')
      if not var:
        var = var_default
      return var
    
    
    def prompt_loop_or_load_from_env(environ_cp,
                                     var_name,
                                     var_default,
                                     ask_for_var,
                                     check_success,
                                     error_msg,
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  3. cmd/bucket-replication-utils_gen.go

    			}
    			for zb0002 > 0 {
    				zb0002--
    				var za0001 string
    				var za0002 MRFReplicateEntry
    				za0001, err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "Entries")
    					return
    				}
    				var zb0003 uint32
    				zb0003, err = dc.ReadMapHeader()
    				if err != nil {
    					err = msgp.WrapError(err, "Entries", za0001)
    					return
    				}
    				for zb0003 > 0 {
    					zb0003--
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 61.1K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes_gen.go

    	o = msgp.AppendBool(o, z.ObjectLocking)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BucketInfo) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, bts, err = msgp.ReadMapKeyZC(bts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  5. tests/query_test.go

    	}
    
    	t.Run("First", func(t *testing.T) {
    		var first User
    		if err := DB.Where("name = ?", "find").First(&first).Error; err != nil {
    			t.Errorf("errors happened when query first: %v", err)
    		} else {
    			CheckUser(t, first, users[0])
    		}
    	})
    
    	t.Run("Last", func(t *testing.T) {
    		var last User
    		if err := DB.Where("name = ?", "find").Last(&last).Error; err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  6. cmd/storage-datatypes_gen_test.go

    func BenchmarkEncodeBaseOptions(b *testing.B) {
    	v := BaseOptions{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecodeBaseOptions(b *testing.B) {
    	v := BaseOptions{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 60.4K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    	if !opts.NoAuditLog {
    		auditObjectErasureSet(ctx, object, &er)
    	}
    
    	var lc *lifecycle.Lifecycle
    	var rcfg lock.Retention
    	var replcfg *replication.Config
    	if opts.Expiration.Expire {
    		// Check if the current bucket has a configured lifecycle policy
    		lc, err = globalLifecycleSys.Get(bucket)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. cmd/iam-store.go

    		}
    	}
    	return ret, nil
    }
    
    // helper function - does not take locks.
    func filterPolicies(cache *iamCache, policyName string, bucketName string) (string, policy.Policy) {
    	var policies []string
    	mp := newMappedPolicy(policyName)
    	var toMerge []policy.Policy
    	for _, policy := range mp.toSlice() {
    		if policy == "" {
    			continue
    		}
    		p, found := cache.iamPolicyDocsMap[policy]
    		if !found {
    			continue
    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)
  9. cmd/xl-storage.go

    		}
    	}
    
    	srcFilePath := pathutil.Join(srcVolumeDir, pathJoin(srcPath, xlStorageFormatFile))
    	dstFilePath := pathutil.Join(dstVolumeDir, pathJoin(dstPath, xlStorageFormatFile))
    
    	var srcDataPath string
    	var dstDataPath string
    	var dataDir string
    	if !fi.IsRemote() {
    		dataDir = retainSlash(fi.DataDir)
    	}
    	if dataDir != "" {
    		srcDataPath = retainSlash(pathJoin(srcVolumeDir, srcPath, dataDir))
    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/iam.go

    	}
    
    	// Add all the necessary claims for the service account.
    	for k, v := range opts.claims {
    		_, ok := m[k]
    		if !ok {
    			m[k] = v
    		}
    	}
    
    	var accessKey, secretKey string
    	var err error
    	if len(opts.accessKey) > 0 || len(opts.secretKey) > 0 {
    		accessKey, secretKey = opts.accessKey, opts.secretKey
    	} else {
    		accessKey, secretKey, err = auth.GenerateCredentials()
    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)
Back to top