Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 938 for Nil$ (0.27 sec)

  1. cmd/object-api-datatypes.go

    	if len(o.UserDefined) == 0 {
    		return nil
    	}
    	z, ok := o.UserDefined[archiveInfoMetadataKey]
    	if !ok {
    		return nil
    	}
    	data := []byte(z)
    	if v, ok := o.UserDefined[archiveTypeMetadataKey]; ok && v == archiveTypeEnc {
    		decrypted, err := o.metadataDecrypter(h)(archiveTypeEnc, data)
    		if err != nil {
    			encLogIf(GlobalContext, err)
    			return nil
    		}
    		data = decrypted
    	}
    	return data
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/tier-sweeper.go

    // os := newObjSweeper(bucket, object)
    // // Perform a ObjectLayer.GetObjectInfo to fetch object version information
    // goiOpts := os.GetOpts()
    // gerr := objAPI.GetObjectInfo(ctx, bucket, object, goiOpts)
    //
    //	if gerr == nil {
    //	   os.SetTransitionState(goi)
    //	}
    //
    // // After the overwriting object operation is complete.
    //
    //	if jentry, ok := os.ShouldRemoveRemoteObject(); ok {
    //	    err := globalTierJournal.AddEntry(jentry)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 17 05:09:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. utils/tests/utils.go

    			got, _ = valuer.Value()
    		}
    
    		if valuer, ok := expect.(driver.Valuer); ok {
    			expect, _ = valuer.Value()
    		}
    
    		if got != nil {
    			got = reflect.Indirect(reflect.ValueOf(got)).Interface()
    		}
    
    		if expect != nil {
    			expect = reflect.Indirect(reflect.ValueOf(expect)).Interface()
    		}
    
    		if reflect.ValueOf(got).IsValid() != reflect.ValueOf(expect).IsValid() {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/lex.go

    	}
    }
    
    // NewLexer returns a lexer for the named file and the given link context.
    func NewLexer(name string) TokenReader {
    	input := NewInput(name)
    	fd, err := os.Open(name)
    	if err != nil {
    		log.Fatalf("%s\n", err)
    	}
    	input.Push(NewTokenizer(name, fd, fd))
    	return input
    }
    
    // The other files in this directory each contain an implementation of TokenReader.
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. cmd/metrics-v3-audit.go

    		m.Set(auditFailedMessages, float64(st.FailedMessages), labels...)
    		m.Set(auditTargetQueueLength, float64(st.QueueLength), labels...)
    		m.Set(auditTotalMessages, float64(st.TotalMessages), labels...)
    	}
    
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 10 14:50:39 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. internal/bucket/replication/tag.go

    func (tag Tag) Validate() error {
    	if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 {
    		return errInvalidTagKey
    	}
    
    	if utf8.RuneCountInString(tag.Value) > 256 {
    		return errInvalidTagValue
    	}
    
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  7. cmd/is-dir-empty_other.go

    package cmd
    
    // isDirEmpty - returns true if there is no error and no object and prefix inside this directory
    func isDirEmpty(dirname string, _ bool) bool {
    	entries, err := readDirN(dirname, 1)
    	if err != nil {
    		return false
    	}
    	return len(entries) == 0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. cmd/metacache.go

    }
    
    func (m *metacache) finished() bool {
    	return !m.ended.IsZero()
    }
    
    // worthKeeping indicates if the cache by itself is worth keeping.
    func (m *metacache) worthKeeping() bool {
    	if m == nil {
    		return false
    	}
    	cache := m
    	switch {
    	case !cache.finished() && time.Since(cache.lastUpdate) > metacacheMaxRunningAge:
    		// Not finished and update for metacacheMaxRunningAge, discard it.
    		return false
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle-handlers_test.go

    		req, err := newTestSignedRequestV4(testCase.method, getBucketLifecycleURL("", testCase.bucketName),
    			int64(len(testCase.body)), bytes.NewReader(testCase.body), testCase.accessKey, testCase.secretKey, nil)
    		if err != nil {
    			t.Fatalf("Test %d: %s: Failed to create HTTP request for GetBucketLocationHandler: <ERROR> %v", i+1, instanceType, err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. internal/event/target/kafka_scram_client_contrib.go

    func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) {
    	x.Client, err = x.HashGeneratorFcn.NewClient(userName, password, authzID)
    	if err != nil {
    		return err
    	}
    	x.ClientConversation = x.Client.NewConversation()
    	return nil
    }
    
    // Step takes a string provided from a server (or just an empty string for the
    // very first conversation step) and attempts to move the authentication
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Nov 09 04:04:01 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top