Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for resultCh (0.48 sec)

  1. cmd/admin-handlers.go

    	for _, nerr := range hostErrs {
    		result := StartProfilingResult{NodeName: nerr.Host.String()}
    		if nerr.Err != nil {
    			result.Error = nerr.Err.Error()
    		} else {
    			result.Success = true
    		}
    		startProfilingResult = append(startProfilingResult, result)
    	}
    
    	// Create JSON result and send it to the client
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    		lastCheckpoint = st.Object
    	}
    	workers := make([]chan ReplicateObjectInfo, resyncParallelRoutines)
    	resultCh := make(chan TargetReplicationResyncStatus, 1)
    	defer xioutil.SafeClose(resultCh)
    	go func() {
    		for r := range resultCh {
    			s.incStats(r, opts)
    			globalSiteResyncMetrics.updateMetric(r, opts.resyncID)
    		}
    	}()
    
    	var wg sync.WaitGroup
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  3. src/crypto/x509/x509_test.go

    	}
    	if cert1.MaxPathLenZero {
    		t.Errorf("Omitting MaxPathLen resulted in MaxPathLenZero")
    	}
    
    	template.MaxPathLen = 1
    	cert2 := serialiseAndParse(t, template)
    	if m := cert2.MaxPathLen; m != 1 {
    		t.Errorf("Setting MaxPathLen didn't work. Got %d but set 1", m)
    	}
    	if cert2.MaxPathLenZero {
    		t.Errorf("Setting MaxPathLen resulted in MaxPathLenZero")
    	}
    
    	template.MaxPathLen = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  4. src/crypto/x509/verify_test.go

    			t.Errorf("unexpected success for test #%d: domain=%s, constraint=%s", i, test.domain, test.constraint)
    			continue
    		}
    
    		if result != test.shouldMatch {
    			t.Errorf("unexpected result for test #%d: domain=%s, constraint=%s, result=%t", i, test.domain, test.constraint, result)
    		}
    	}
    }
    
    const selfSignedWithCommonName = `-----BEGIN CERTIFICATE-----
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/exec.go

    	// See golang.org/issue/22220.
    	// We still call updateBuildID to update a.buildID, which is important
    	// for test result caching, but passing rewrite=false (final arg)
    	// means we don't actually rewrite the binary, nor store the
    	// result into the cache. That's probably a net win:
    	// less cache space wasted on large binaries we are not likely to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  6. src/crypto/sha512/sha512_test.go

    	gen, asm := New().(*digest), New().(*digest)
    	buf := make([]byte, BlockSize*20) // arbitrary factor
    	rand.Read(buf)
    	blockGeneric(gen, buf)
    	block(asm, buf)
    	if *gen != *asm {
    		t.Error("block and blockGeneric resulted in different states")
    	}
    }
    
    // Tests for unmarshaling hashes that have hashed a large amount of data
    // The initial hash generation is omitted from the test, because it takes a long time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:17:08 UTC 2023
    - 105.6K bytes
    - Viewed (0)
Back to top