Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 134 for opload (0.2 sec)

  1. src/cmd/go/internal/modcmd/tidy.go

    	// request that their test dependencies be included.
    	modload.ForceUseModules = true
    	modload.RootMode = modload.NeedRoot
    
    	goVersion := tidyGo.String()
    	if goVersion != "" && gover.Compare(gover.Local(), goVersion) < 0 {
    		toolchain.SwitchOrFatal(ctx, &gover.TooNewError{
    			What:      "-go flag",
    			GoVersion: goVersion,
    		})
    	}
    
    	modload.LoadPackages(ctx, modload.PackageOpts{
    		TidyGoVersion:            tidyGo.String(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/workcmd/edit.go

    func flagEditworkUse(arg string) {
    	workedits = append(workedits, func(f *modfile.WorkFile) {
    		_, mf, err := modload.ReadModFile(filepath.Join(arg, "go.mod"), nil)
    		modulePath := ""
    		if err == nil {
    			modulePath = mf.Module.Mod.Path
    		}
    		f.AddUse(modload.ToDirectoryPath(arg), modulePath)
    		if err := f.AddUse(modload.ToDirectoryPath(arg), ""); err != nil {
    			base.Fatalf("go: -use=%s: %v", arg, err)
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. cmd/callhome.go

    		}
    	}
    }
    
    const (
    	subnetHealthPath = "/api/health/upload"
    )
    
    func sendHealthInfo(ctx context.Context, healthInfo madmin.HealthInfo) error {
    	url := globalSubnetConfig.BaseURL + subnetHealthPath
    
    	filename := fmt.Sprintf("health_%s.json.gz", UTCNow().Format("20060102150405"))
    	url += "?filename=" + filename
    
    	_, err := globalSubnetConfig.Upload(url, filename, createHealthJSONGzip(ctx, healthInfo))
    	return err
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/toolchain/select.go

    	// Set up modules without an explicit go.mod, to download go.mod.
    	modload.ForceUseModules = true
    	modload.RootMode = modload.NoRoot
    	modload.Init()
    	defer modload.Reset()
    
    	// See internal/load.PackagesAndErrorsOutsideModule
    	ctx := context.Background()
    	allowed := modload.CheckAllowed
    	if modload.IsRevisionQuery(path, version) {
    		// Don't check for retractions if a specific revision is requested.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. README.md

    ```sh
    firewall-cmd --zone=public --add-port=9000/tcp --permanent
    ```
    
    Note that `permanent` makes sure the rules are persistent across firewall start, restart or reload. Finally reload the firewall for changes to take effect.
    
    ```sh
    firewall-cmd --reload
    ```
    
    ### iptables
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 00:22:36 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    	if uploadIDMarker != "" {
    		for uploadIndex < len(uploads) {
    			if uploads[uploadIndex].UploadID != uploadIDMarker {
    				uploadIndex++
    				continue
    			}
    			if uploads[uploadIndex].UploadID == uploadIDMarker {
    				uploadIndex++
    				break
    			}
    			uploadIndex++
    		}
    	}
    	for uploadIndex < len(uploads) {
    		result.Uploads = append(result.Uploads, uploads[uploadIndex])
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  7. cmd/object-api-errors.go

    	return "Operation timed out"
    }
    
    // Multipart related errors.
    
    // MalformedUploadID malformed upload id.
    type MalformedUploadID struct {
    	UploadID string
    }
    
    func (e MalformedUploadID) Error() string {
    	return "Malformed upload id " + e.UploadID
    }
    
    // InvalidUploadID invalid upload id.
    type InvalidUploadID struct {
    	Bucket   string
    	Object   string
    	UploadID string
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 22:19:00 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    }
    
    // return URL for a new multipart upload.
    func getNewMultipartURL(endPoint, bucketName, objectName string) string {
    	queryValue := url.Values{}
    	queryValue.Set("uploads", "")
    	return makeTestTargetURL(endPoint, bucketName, objectName, queryValue)
    }
    
    // return URL for a new multipart upload.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/internal/configstore/download.go

    // Package configstore abstracts interaction with the telemetry config server.
    // Telemetry config (golang.org/x/telemetry/config) is distributed as a go
    // module containing go.mod and config.json. Programs that upload collected
    // counters download the latest config using `go mod download`. This provides
    // verification of downloaded configuration and cacheability.
    package configstore
    
    import (
    	"bytes"
    	"encoding/json"
    	"fmt"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package upload
    
    import (
    	"fmt"
    	"os"
    	"sync"
    	"time"
    
    	"golang.org/x/telemetry/internal/counter"
    )
    
    // time and date handling
    
    var distantPast = 21 * 24 * time.Hour
    
    // reports that are too old (21 days) are not uploaded
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top