Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 55 for Turing (0.14 sec)

  1. cmd/httprange.go

    		return nil, fmt.Errorf("'%s' does not have valid range value", rangeString)
    	}
    }
    
    // String returns stringified representation of range for a particular resource size.
    func (h *HTTPRangeSpec) String(resourceSize int64) string {
    	if h == nil {
    		return ""
    	}
    	off, length, err := h.GetOffsetLength(resourceSize)
    	if err != nil {
    		return ""
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. helm-releases/minio-5.2.0.tgz

    Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation. ### Installing the Chart (toy-setup) Minimal toy setup for testing purposes can be deployed using: ```bash helm install --set resources.requests.memory=512Mi --set replicas=1 --set persistence.enabled=false --set mode=standalone --set rootUser=rootuser,rootPassword=rootpass123 --generate-name minio/minio ``` ### Upgrading the Chart You can use...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  3. docs/auditlog/auditlog-echo.go

    		w.WriteHeader(http.StatusBadRequest)
    		return
    	}
    
    	log.Printf(">>> %s %s\n", r.Method, r.URL.Path)
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "    ")
    	log.Printf("%s\n", out.String())
    
    	w.WriteHeader(http.StatusOK)
    }
    
    func main() {
    	flag.Parse()
    	http.HandleFunc("/", mainHandler)
    
    	log.Printf("Listening on :%d\n", port)
    	log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", port), nil))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. internal/logger/logger.go

    }
    
    // HashString - return the highway hash of the passed string
    func HashString(input string) string {
    	hh, _ := highwayhash.New(magicHighwayHash256Key)
    	hh.Write([]byte(input))
    	return hex.EncodeToString(hh.Sum(nil))
    }
    
    // LogAlwaysIf prints a detailed error message during
    // the execution of the server.
    func LogAlwaysIf(ctx context.Context, subsystem string, err error, errKind ...interface{}) {
    	if err == nil {
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. cmd/server-main.go

    //   - The returned List needs to be deduplicated as well.
    func getServerListenAddrs() []string {
    	// Use a string set to avoid duplication
    	addrs := set.NewStringSet()
    	// Listen on local interface to receive requests from Console
    	for _, ip := range mustGetLocalIPs() {
    		if ip != nil && ip.IsLoopback() {
    			addrs.Add(net.JoinHostPort(ip.String(), globalMinioPort))
    		}
    	}
    	host, _ := mustSplitHostPort(globalMinioAddr)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  6. cmd/erasure-sets.go

    	return func() ([]dsync.NetLocker, string) {
    		lockers := make([]dsync.NetLocker, len(s.erasureLockers[setIndex]))
    		copy(lockers, s.erasureLockers[setIndex])
    		return lockers, s.erasureLockOwner
    	}
    }
    
    func (s *erasureSets) GetEndpointStrings(setIndex int) func() []string {
    	return func() []string {
    		eps := make([]string, s.setDriveCount)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  7. internal/bucket/lifecycle/lifecycle_test.go

    	testCases := []struct {
    		inputConfig            string
    		objectName             string
    		objectTags             string
    		objectModTime          time.Time
    		isDelMarker            bool
    		hasManyVersions        bool
    		expectedAction         Action
    		isNoncurrent           bool
    		objectSuccessorModTime time.Time
    		versionID              string
    	}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  8. internal/color/color.go

    		if IsTerminal() {
    			return color.New(color.FgBlue, color.Bold).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	BgYellow = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.BgYellow).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	Black = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    		{"small-1", []int64{509}, make(map[string]string)},
    		{"small-2", []int64{5 * oneMiB}, make(map[string]string)},
    		// // // cases 5-8: multipart part objects
    		{"mp-0", []int64{5 * oneMiB, 1}, make(map[string]string)},
    		{"mp-1", []int64{5*oneMiB + 1, 1}, make(map[string]string)},
    		{"mp-2", []int64{5487701, 5487799, 3}, make(map[string]string)},
    		{"mp-3", []int64{10499807, 10499963, 7}, make(map[string]string)},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  10. cmd/data-scanner.go

    		}
    	}
    
    	return nil
    }
    
    // scannerItem represents each file while walking.
    type scannerItem struct {
    	Path        string
    	bucket      string // Bucket.
    	prefix      string // Only the prefix if any, does not have final object name.
    	objectName  string // Only the object name without prefixes.
    	replication replicationConfig
    	lifeCycle   *lifecycle.Lifecycle
    	Typ         fs.FileMode
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
Back to top