Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,423 for var1 (0.04 sec)

  1. internal/dsync/dsync_test.go

    	dm1st.Lock(id, source)
    	started := time.Now()
    	var expect time.Duration
    	// Release lock after 10 seconds
    	go func() {
    		// TOTAL
    		time.Sleep(2 * testDrwMutexAcquireTimeout)
    		// fmt.Println("Unlocking dm1")
    
    		dm1st.Unlock(context.Background())
    	}()
    	expect += 2 * testDrwMutexAcquireTimeout
    
    	var wg sync.WaitGroup
    	wg.Add(2)
    
    	go func() {
    		defer wg.Done()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. internal/config/identity/openid/openid.go

    		},
    		config.KV{
    			Key:   KeyCloakAdminURL,
    			Value: "",
    		},
    	}
    )
    
    var errSingleProvider = config.Errorf("Only one OpenID provider can be configured if not using role policy mapping")
    
    // DummyRoleARN is used to indicate that the user associated with it was
    // authenticated via policy-claim based OpenID provider.
    var DummyRoleARN = func() arn.ARN {
    	v, err := arn.NewIAMRoleARN("dummy-internal", "")
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v1_gen_test.go

    func BenchmarkEncodeChecksumInfo(b *testing.B) {
    	v := ChecksumInfo{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecodeChecksumInfo(b *testing.B) {
    	v := ChecksumInfo{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

     */
    
    package com.google.common.math;
    
    import java.math.BigInteger;
    import java.util.Random;
    
    /**
     * Utilities for benchmarks.
     *
     * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary
     * the input itself, so most methods which generate values use an exponential distribution varying
     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  5. cmd/speedtest.go

    			result.PUTStats.ObjectsPerSec = throughputHighestPut / uint64(opts.objectSize) / uint64(durationSecs)
    			var totalUploadTimes madmin.TimeDurations
    			var totalDownloadTimes madmin.TimeDurations
    			var totalDownloadTTFB madmin.TimeDurations
    			for i := 0; i < len(throughputHighestResults); i++ {
    				errStr := ""
    				if throughputHighestResults[i].Error != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_string.go

    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[invalidVersionType-0]
    	_ = x[ObjectType-1]
    	_ = x[DeleteType-2]
    	_ = x[LegacyType-3]
    	_ = x[lastVersionType-4]
    }
    
    const _VersionType_name = "invalidVersionTypeObjectTypeDeleteTypeLegacyTypelastVersionType"
    
    var _VersionType_index = [...]uint8{0, 18, 28, 38, 48, 63}
    
    func (i VersionType) String() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 02 19:29:16 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  7. tests/named_argument_test.go

    	DB.Create(&namedUser)
    
    	var result NamedUser
    	DB.First(&result, "name1 = @name OR name2 = @name OR name3 = @name", sql.Named("name", "jinzhu2"))
    
    	AssertEqual(t, result, namedUser)
    
    	var result2 NamedUser
    	DB.Where("name1 = @name OR name2 = @name OR name3 = @name", sql.Named("name", "jinzhu2")).First(&result2)
    
    	AssertEqual(t, result2, namedUser)
    
    	var result3 NamedUser
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  8. misc/linkcheck/linkcheck.go

    	"regexp"
    	"strings"
    	"sync"
    )
    
    var (
    	root    = flag.String("root", "http://localhost:6060", "Root to crawl")
    	verbose = flag.Bool("verbose", false, "verbose")
    )
    
    var wg sync.WaitGroup        // outstanding fetches
    var urlq = make(chan string) // URLs to crawl
    
    // urlFrag is a URL and its optional #fragment (without the #)
    type urlFrag struct {
    	url, frag string
    }
    
    var (
    	mu          sync.Mutex
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Response.kt

      open class Builder {
        internal var request: Request? = null
        internal var protocol: Protocol? = null
        internal var code = -1
        internal var message: String? = null
        internal var handshake: Handshake? = null
        internal var headers: Headers.Builder
        internal var body: ResponseBody = commonEmptyResponse
        internal var networkResponse: Response? = null
        internal var cacheResponse: Response? = null
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. internal/grid/msg_gen.go

    		return
    	}
    	{
    		var zb0002 uint8
    		zb0002, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err, "Handler")
    			return
    		}
    		z.Handler = HandlerID(zb0002)
    	}
    	{
    		var zb0003 uint8
    		zb0003, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err, "Op")
    			return
    		}
    		z.Op = Op(zb0003)
    	}
    	{
    		var zb0004 uint8
    		zb0004, err = dc.ReadUint8()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
Back to top