Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for de (0.13 sec)

  1. internal/bucket/lifecycle/delmarker-expiration.go

    	}
    
    	*de = DelMarkerExpiration(dexp)
    	return nil
    }
    
    // MarshalXML encodes a DelMarkerExpiration value into an XML element
    func (de DelMarkerExpiration) MarshalXML(enc *xml.Encoder, start xml.StartElement) error {
    	if de.Empty() {
    		return nil
    	}
    
    	type delMarkerExpiration DelMarkerExpiration
    	return enc.EncodeElement(delMarkerExpiration(de), start)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. internal/rest/rpc-stats.go

    			}
    		},
    	}
    
    	return req.WithContext(httptrace.WithClientTrace(req.Context(), trace)), func() {
    		if ds := atomic.LoadInt64(&dialStart); ds > 0 {
    			if de := atomic.LoadInt64(&dialEnd); de == 0 {
    				atomic.AddUint64(&globalStats.tcpDialErrs, 1)
    			} else if de >= ds {
    				atomic.AddUint64(&globalStats.tcpDialCount, 1)
    				atomic.AddUint64(&globalStats.tcpDialTotalDur, uint64(dialEnd-dialStart))
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 16:27:58 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  3. tests/preload_suits_test.go

    	}}
    	if err := DB.Save(&want).Error; err != nil {
    		t.Error(err)
    	}
    
    	want2 := Level2{Value: "Tom", LanguageCode: "zh", Level1s: []Level1{
    		{Value: "zh", LanguageCode: "zh"},
    		{Value: "de", LanguageCode: "de"},
    	}}
    	if err := DB.Save(&want2).Error; err != nil {
    		t.Error(err)
    	}
    
    	var got Level2
    	if err := DB.Preload("Level1s").Find(&got, "value = ?", "Bob").Error; err != nil {
    		t.Error(err)
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Mar 18 05:38:46 GMT 2022
    - 30.3K bytes
    - Viewed (0)
  4. internal/handlers/proxy.go

    // and heavily modified for MinIO's internal needs.
    
    package handlers
    
    import (
    	"net"
    	"net/http"
    	"regexp"
    	"strings"
    )
    
    var (
    	// De-facto standard header keys.
    	xForwardedFor    = http.CanonicalHeaderKey("X-Forwarded-For")
    	xForwardedHost   = http.CanonicalHeaderKey("X-Forwarded-Host")
    	xForwardedPort   = http.CanonicalHeaderKey("X-Forwarded-Port")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  5. src/archive/zip/struct.go

    	directoryHeaderSignature = 0x02014b50
    	directoryEndSignature    = 0x06054b50
    	directory64LocSignature  = 0x07064b50
    	directory64EndSignature  = 0x06064b50
    	dataDescriptorSignature  = 0x08074b50 // de-facto standard; required by OS X Finder
    	fileHeaderLen            = 30         // + filename + extra
    	directoryHeaderLen       = 46         // + filename + extra + comment
    	directoryEndLen          = 22         // + comment
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  6. cmd/metacache-entries.go

    			// of this fashion such as
    			//  - foo-1
    			//  - foo-1/
    			// we should avoid this situation by making sure that
    			// we compare the `foo-1/` after path.Clean() to
    			// de-dup the entries.
    			if path.Clean(best.name) == path.Clean(other.name) {
    				toMerge = append(toMerge, otherIdx)
    				continue
    			}
    			if best.name > other.name {
    				toMerge = toMerge[:0]
    				best = other
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  7. src/archive/zip/fuzz_test.go

    func FuzzReader(f *testing.F) {
    	testdata, err := os.ReadDir("testdata")
    	if err != nil {
    		f.Fatalf("failed to read testdata directory: %s", err)
    	}
    	for _, de := range testdata {
    		if de.IsDir() {
    			continue
    		}
    		b, err := os.ReadFile(filepath.Join("testdata", de.Name()))
    		if err != nil {
    			f.Fatalf("failed to read testdata: %s", err)
    		}
    		f.Add(b)
    	}
    
    	f.Fuzz(func(t *testing.T, b []byte) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 13 18:06:33 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  8. misc/go_android_exec/main.go

    	dirents, err := os.ReadDir(goroot)
    	if err != nil {
    		return err
    	}
    	for _, de := range dirents {
    		switch de.Name() {
    		case "bin", "pkg":
    			// We already created GOROOT/bin and GOROOT/pkg above; skip those.
    			continue
    		}
    		if err := adb("push", filepath.Join(goroot, de.Name()), path.Join(deviceGoroot, de.Name())); err != nil {
    			return err
    		}
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    	}
    
    	return &HTTPRangeSpec{Start: start, End: end}
    }
    
    // Returns the compressed offset which should be skipped.
    // If encrypted offsets are adjusted for encrypted block headers/trailers.
    // Since de-compression is after decryption encryption overhead is only added to compressedOffset.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  10. internal/pubsub/pubsub.go

    	atomic.StoreUint64(&ps.types, uint64(combined))
    	if wg != nil {
    		wg.Add(1)
    	}
    	go func() {
    		defer func() {
    			if wg != nil {
    				wg.Done()
    			}
    			// Clean up and de-register the subscriber
    			ps.Lock()
    			defer ps.Unlock()
    			var remainTypes Mask
    			for i, s := range ps.subs {
    				if s == sub {
    					ps.subs = append(ps.subs[:i], ps.subs[i+1:]...)
    				} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top