Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for repoStat (0.12 sec)

  1. src/cmd/go/internal/modfetch/coderepo_test.go

    				}
    
    				info, err := repo.Stat(ctx, tt.rev)
    				if err != nil {
    					if tt.err != "" {
    						if !strings.Contains(err.Error(), tt.err) {
    							t.Fatalf("repoStat(%q): %v, wanted %q", tt.rev, err, tt.err)
    						}
    						return
    					}
    					t.Fatalf("repo.Stat(%q): %v", tt.rev, err)
    				}
    				if tt.err != "" {
    					t.Errorf("repo.Stat(%q): success, wanted error", tt.rev)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 20:10:14 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/InjectUtil.java

         *
         * @param type the type to find the injectable constructor of.
         * @param reportAs errors are reported against this type, useful when the real type is generated, and we'd like to show the original type in messages instead.
         */
        public static <T> ClassGenerator.GeneratedConstructor<T> selectConstructor(ClassGenerator.GeneratedClass<T> type, Class<?> reportAs) {
            List<ClassGenerator.GeneratedConstructor<T>> constructors = type.getConstructors();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. pkg/util/parsers/parsers_test.go

    		{Input: "user/repo:tag", Repo: "docker.io/user/repo", Tag: "tag"},
    		{Input: "user/repo@sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", Repo: "docker.io/user/repo", Digest: "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},
    		{Input: "url:5000/repo", Repo: "url:5000/repo", Tag: "latest"},
    		{Input: "url:5000/repo:tag", Repo: "url:5000/repo", Tag: "tag"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 01:53:43 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. cmd/bucket-replication-stats.go

    	case rs.Pending:
    	}
    }
    
    type replStat struct {
    	Arn       string
    	Completed bool
    	Pending   bool
    	Failed    bool
    	opType    replication.Type
    	// transfer size
    	TransferSize int64
    	// transfer duration
    	TransferDuration time.Duration
    	Endpoint         string
    	Secure           bool
    	Err              error
    }
    
    func (rs *replStat) endpoint() string {
    	scheme := "http"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. cmd/site-replication-metrics.go

    	// Endpoint is the replication target endpoint
    	Endpoint string `json:"-"`
    	// Secure is true if the replication target endpoint is secure
    	Secure bool `json:"-"`
    }
    
    func (sr *SRStats) update(st replStat, dID string) {
    	sr.lock.Lock()
    	defer sr.lock.Unlock()
    	srs, ok := sr.M[dID]
    	if !ok {
    		srs = &SRStatus{
    			XferRateLrg: newXferStats(),
    			XferRateSml: newXferStats(),
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top