Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 407 for filled (0.16 sec)

  1. internal/lock/lock.go

    // open file descriptor.
    package lock
    
    import (
    	"errors"
    	"os"
    	"sync"
    )
    
    // ErrAlreadyLocked is returned if the underlying fd is already locked.
    var ErrAlreadyLocked = errors.New("file already locked")
    
    // RLockedFile represents a read locked file, implements a special
    // closer which only closes the associated *os.File when the ref count.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  2. internal/crypto/metadata_test.go

    		metadata := S3.CreateMetadata(nil, test.KeyID, test.SealedDataKey, test.SealedKey)
    		keyID, kmsKey, sealedKey, err := S3.ParseMetadata(metadata)
    		if err != nil {
    			t.Errorf("Test %d: failed to parse metadata: %v", i, err)
    			continue
    		}
    		if keyID != test.KeyID {
    			t.Errorf("Test %d: Key-ID mismatch: got '%s' - want '%s'", i, keyID, test.KeyID)
    		}
    		if !bytes.Equal(kmsKey, test.SealedDataKey) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. cmd/mrf.go

    					continue
    				}
    				if wildcard.Match("tmp-old/*", u.object) {
    					continue
    				}
    			}
    
    			now := time.Now()
    			if now.Sub(u.queued) < time.Second {
    				// let recently failed networks to reconnect
    				// making MRF wait for 1s before retrying,
    				// i.e 4 reconnect attempts.
    				time.Sleep(time.Second)
    			}
    
    			// wait on timer per heal
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. cmd/update.go

    // IsDocker - returns if the environment minio is running in docker or
    // not. The check is a simple file existence check.
    //
    // https://github.com/moby/moby/blob/master/daemon/initlayer/setup_unix.go
    // https://github.com/containers/podman/blob/master/libpod/runtime.go
    //
    //	"/.dockerenv":        "file",
    //	"/run/.containerenv": "file",
    func IsDocker() bool {
    	var err error
    	for _, envfile := range []string{
    		"/.dockerenv",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    		"server_insecure=on",
    		"lookup_bind_dn=cn=admin,dc=min,dc=io",
    		"lookup_bind_password=admin",
    		"user_dn_search_base_dn=dc=min,dc=io",
    		"user_dn_search_filter=(uid=%s)",
    		"group_search_base_dn=ou=swengg,dc=min,dc=io",
    		"group_search_filter=(&(objectclass=groupofnames)(member=%d))",
    	}
    	_, err := s.adm.SetConfigKV(ctx, strings.Join(configCmds, " "))
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  6. cmd/object-api-deleteobject_test.go

    		t.Log(oi, err)
    
    		result, err := obj.ListObjects(context.Background(), testCase.bucketName, "", "", "", 1000)
    		if err != nil {
    			t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error())
    			continue
    		}
    
    		if len(result.Objects) != len(testCase.objectsAfterDelete) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  7. docs/bucket/retention/README.md

      - New objects inherit the retention settings of the bucket object lock configuration automatically
      - Retention headers can be optionally set while uploading objects
      - Once objects are uploaded PutObjectRetention API can be called to change retention settings
    - *MINIO_NTP_SERVER* environment variable can be set to remote NTP server endpoint if system time is not desired for setting retention dates.
    
    ## Explore Further
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  8. cmd/server_test.go

    		`<ListVersionsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">.*` +
    			`<DeleteMarker><Key>file.1</Key>.*<IsLatest>true</IsLatest>.*</DeleteMarker>` +
    			`<Version><Key>file.1</Key>.*<IsLatest>false</IsLatest>.*</Version>` +
    			`<DeleteMarker><Key>file.2</Key>.*<IsLatest>true</IsLatest>.*</DeleteMarker>` +
    			`<Version><Key>file.2</Key>.*<IsLatest>false</IsLatest>.*</Version>` +
    			`</ListVersionsResult>`)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  9. cmd/generic-handlers_test.go

    			if contains && !test.shouldFail {
    				t.Errorf("contains reserved header but should not fail")
    			} else if !contains && test.shouldFail {
    				t.Errorf("does not contain reserved header but failed")
    			}
    		})
    	}
    }
    
    var sseTLSHandlerTests = []struct {
    	URL               *url.URL
    	Header            http.Header
    	IsTLS, ShouldFail bool
    }{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  10. cmd/listen-notification-handlers.go

    		for {
    			select {
    			case ev := <-localCh:
    				buf.Reset()
    				tmpEvt.Records[0] = ev
    				if err := enc.Encode(tmpEvt); err != nil {
    					bugLogIf(ctx, err, "event: Encode failed")
    					continue
    				}
    				mergeCh <- append(grid.GetByteBuffer()[:0], buf.Bytes()...)
    			case <-ctx.Done():
    				grid.PutByteBuffer(buf.Bytes())
    				return
    			}
    		}
    	}()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top