Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for true (0.22 sec)

  1. src/cmd/api/main_test.go

    	{GOOS: "linux", GOARCH: "386", CgoEnabled: true},
    	{GOOS: "linux", GOARCH: "386"},
    	{GOOS: "linux", GOARCH: "amd64", CgoEnabled: true},
    	{GOOS: "linux", GOARCH: "amd64"},
    	{GOOS: "linux", GOARCH: "arm", CgoEnabled: true},
    	{GOOS: "linux", GOARCH: "arm"},
    	{GOOS: "darwin", GOARCH: "amd64", CgoEnabled: true},
    	{GOOS: "darwin", GOARCH: "amd64"},
    	{GOOS: "darwin", GOARCH: "arm64", CgoEnabled: true},
    	{GOOS: "darwin", GOARCH: "arm64"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  2. cmd/object-handlers-common.go

    			writeHeaders()
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPreconditionFailed), r.URL)
    			return true
    		}
    	}
    	// Object content should be written to http.ResponseWriter
    	return false
    }
    
    // Validates the preconditions. Returns true if PUT operation should not proceed.
    // Preconditions supported are:
    //
    //	x-minio-source-mtime
    //	x-minio-source-etag
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. cmd/generic-handlers.go

    		// if the caller sends path of following style
    		// a/a/a/a/a/a/a/a...
    		return true
    	}
    	path = filepath.ToSlash(strings.TrimSpace(path)) // For windows '\' must be converted to '/'
    	for _, p := range strings.Split(path, SlashSeparator) {
    		switch strings.TrimSpace(p) {
    		case dotdotComponent:
    			return true
    		case dotComponent:
    			return true
    		}
    	}
    	return false
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. cmd/object-api-interface.go

    	DeletePrefix                        bool      // set true to enforce a prefix deletion, only application for DeleteObject API,
    	DeletePrefixObject                  bool      // set true when object's erasure set is resolvable by object name (using getHashedSetIndex)
    
    	Speedtest bool // object call specifically meant for SpeedTest code, set to 'true' when invoked by SpeedtestHandler.
    
    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)
  5. internal/bucket/object/lock/lock.go

    }
    
    // IsObjectLockRetentionRequested returns true if object lock retention headers are set.
    func IsObjectLockRetentionRequested(h http.Header) bool {
    	if _, ok := h[AmzObjectLockMode]; ok {
    		return true
    	}
    	if _, ok := h[AmzObjectLockRetainUntilDate]; ok {
    		return true
    	}
    	return false
    }
    
    // IsObjectLockLegalHoldRequested returns true if object lock legal hold header is set.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-utils.go

    	}
    	if err == nil && len(versions) == 0 {
    		// This special case is needed to handle len(xlMeta.versions) == 0
    		versions = []FileInfo{
    			{
    				Volume:   volume,
    				Name:     path,
    				Deleted:  true,
    				IsLatest: true,
    				ModTime:  timeSentinel1970,
    			},
    		}
    	}
    	if err != nil {
    		return FileInfoVersions{}, err
    	}
    
    	return FileInfoVersions{
    		Volume:        volume,
    		Name:          path,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    		return false
    	}
    
    	return true
    }
    
    func extractTraceOptions(r *http.Request) (opts madmin.ServiceTraceOpts, err error) {
    	if err := opts.ParseParams(r); err != nil {
    		return opts, err
    	}
    	// Support deprecated 'all' query
    	if r.Form.Get("all") == "true" {
    		opts.S3 = true
    		opts.Internal = true
    		opts.Storage = true
    		opts.OS = true
    		// Older mc - cannot deal with more types...
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  8. cni/pkg/util/podutil_test.go

    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       unlabelledPod,
    			},
    			want: true,
    		},
    		{
    			name: "ambient mode enabled for pod",
    			args: args{
    				namespace: unlabelledNamespace,
    				pod:       podWithAmbientEnabledLabel,
    			},
    			want: true,
    		},
    		{
    			name: "ambient mode enabled for both namespace and pod",
    			args: args{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. cmd/metacache-set.go

    				// We are past the prefix, don't continue.
    				pastPrefix = true
    				return false
    			}
    			if !o.IncludeDirectories && (entry.isDir() || (!o.Versioned && entry.isObjectDir() && entry.isLatestDeletemarker())) {
    				return true
    			}
    			if !entry.isInDir(o.Prefix, o.Separator) {
    				return true
    			}
    			if !o.InclDeleted && entry.isObject() && entry.isLatestDeletemarker() && !entry.isObjectDir() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  10. cmd/sftp-server-driver.go

    		}
    
    		return minio.New(f.endpoint, &minio.Options{
    			Creds:     mcreds,
    			Secure:    globalIsTLS,
    			Transport: globalRemoteFTPClientTransport,
    		})
    	}
    
    	// ok == true - at this point
    
    	if ui.Credentials.IsTemp() {
    		// Temporary credentials are not allowed.
    		return nil, errAuthentication
    	}
    
    	return minio.New(f.endpoint, &minio.Options{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
Back to top