Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for balk (0.27 sec)

  1. cmd/metacache-walk.go

    		if s.walkMu != nil {
    			s.walkMu.Unlock()
    		}
    		if err != nil {
    			// Folder could have gone away in-between
    			if err != errVolumeNotFound && err != errFileNotFound {
    				internalLogOnceIf(ctx, err, "metacache-walk-scan-dir")
    			}
    			if opts.ReportNotFound && err == errFileNotFound && current == opts.BaseDir {
    				err = errFileNotFound
    			} else {
    				err = nil
    			}
    			diskHealthCheckOK(ctx, err)
    			return err
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    	if _, err := io.ReadFull(tr.r, tr.blk[:]); err != nil {
    		return nil, nil, err // EOF is okay here; exactly 0 bytes read
    	}
    	if bytes.Equal(tr.blk[:], zeroBlock[:]) {
    		if _, err := io.ReadFull(tr.r, tr.blk[:]); err != nil {
    			return nil, nil, err // EOF is okay here; exactly 1 block of zeros read
    		}
    		if bytes.Equal(tr.blk[:], zeroBlock[:]) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    			t.Errorf("test %d, unexpected Close error: %v", i, err)
    		}
    
    		// The prefix field should never appear in the GNU format.
    		var blk block
    		copy(blk[:], b.Bytes())
    		prefix := string(blk.toUSTAR().prefix())
    		prefix, _, _ = strings.Cut(prefix, "\x00") // Truncate at the NUL terminator
    		if blk.getFormat() == FormatGNU && len(prefix) > 0 && strings.HasPrefix(name, prefix) {
    			t.Errorf("test %d, found prefix in GNU format: %s", i, prefix)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/netns_linux.go

    		defer threadNS.Close()
    
    		// switch to target namespace
    		if err = NetnsSet(fdable); err != nil {
    			return err
    		}
    		defer func() {
    			err := threadNS.Set() // switch back
    			if err == nil {
    				// Unlock the current thread only when we successfully switched back
    				// to the original namespace; otherwise leave the thread locked which
    				// will force the runtime to scrap the current thread, that is maybe
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jan 31 10:05:36 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    	ListObjectVersions(ctx context.Context, bucket, prefix, marker, versionMarker, delimiter string, maxKeys int) (result ListObjectVersionsInfo, err error)
    	// Walk lists all objects including versions, delete markers.
    	Walk(ctx context.Context, bucket, prefix string, results chan<- ObjectInfo, opts WalkOptions) error
    
    	// Object operations.
    
    	// GetObjectNInfo returns a GetObjectReader that satisfies the
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  6. internal/config/lambda/event/event.go

    type UserRequest struct {
    	URL     string      `json:"url"`
    	Headers http.Header `json:"headers"`
    }
    
    // GetObjectContext provides the necessary details to perform
    // download of the object, and return back the processed response
    // to the server.
    type GetObjectContext struct {
    	OutputRoute string `json:"outputRoute"`
    	OutputToken string `json:"outputToken"`
    	InputS3URL  string `json:"inputS3Url"`
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  7. cmd/admin-handlers-idp-config.go

    	if err = validateConfig(ctx, cfg, subSys); err != nil {
    
    		var validationErr ldap.Validation
    		if errors.As(err, &validationErr) {
    			// If we got an LDAP validation error, we need to send appropriate
    			// error message back to client (likely mc).
    			writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigLDAPValidation),
    				validationErr.FormatError(), r.URL)
    			return
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. cni/pkg/repair/repair_test_helpers.go

    var (
    	brokenInitContainerWaiting = corev1.ContainerStatus{
    		Name: constants.ValidationContainerName,
    		State: corev1.ContainerState{
    			Waiting: &corev1.ContainerStateWaiting{
    				Reason:  "CrashLoopBackOff",
    				Message: "Back-off 5m0s restarting failed blah blah blah",
    			},
    		},
    		LastTerminationState: corev1.ContainerState{
    			Terminated: &corev1.ContainerStateTerminated{
    				ExitCode: constants.ValidationErrorCode,
    				Reason:   "Error",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  9. cmd/storage-interface.go

    	ListVols(ctx context.Context) (vols []VolInfo, err error)
    	StatVol(ctx context.Context, volume string) (vol VolInfo, err error)
    	DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error)
    
    	// WalkDir will walk a directory on disk and return a metacache stream on wr.
    	WalkDir(ctx context.Context, opts WalkDirOptions, wr io.Writer) error
    
    	// Metadata operations
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. cmd/metacache.go

    	"strings"
    	"time"
    )
    
    type scanStatus uint8
    
    const (
    	scanStateNone scanStatus = iota
    	scanStateStarted
    	scanStateSuccess
    	scanStateError
    
    	// Time in which the initiator of a scan must have reported back.
    	metacacheMaxRunningAge = time.Minute
    
    	// Max time between client calls before dropping an async cache listing.
    	metacacheMaxClientWait = 3 * time.Minute
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top