Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for u2 (0.78 sec)

  1. tests/generics_test.go

    				t.Errorf("found invalid user, got %v, expect %v", u1, users[0])
    			}
    
    			if u2, err := reusedb.Where("id = ?", users[1].ID).First(ctx); err != nil {
    				t.Errorf("failed to find user, got error: %v", err)
    			} else if u2.Name != users[1].Name || u2.ID != users[1].ID {
    				t.Errorf("found invalid user, got %v, expect %v", u2, users[1])
    			}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. cmd/endpoint_test.go

    package cmd
    
    import (
    	"fmt"
    	"net"
    	"net/url"
    	"path/filepath"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    func TestNewEndpoint(t *testing.T) {
    	u2, _ := url.Parse("https://example.org/path")
    	u4, _ := url.Parse("http://192.168.253.200/path")
    	rootSlashFoo, _ := filepath.Abs("/foo")
    	testCases := []struct {
    		arg              string
    		expectedEndpoint Endpoint
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1
            "U0.50", // #2
            "U4.00", // #3
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #4
            "U0.50", // #5
            "U2.00", // #6
            "R0.00, R0.50, R0.50, R0.50, R0.50, R0.50, R0.50, R0.50"); // #7
      }
    
      public void testWarmUpWithColdFactor() {
        RateLimiter limiter = RateLimiter.create(5.0, 4000, MILLISECONDS, 10.0, stopwatch);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1
            "U0.50", // #2
            "U4.00", // #3
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #4
            "U0.50", // #5
            "U2.00", // #6
            "R0.00, R0.50, R0.50, R0.50, R0.50, R0.50, R0.50, R0.50"); // #7
      }
    
      public void testWarmUpWithColdFactor() {
        RateLimiter limiter = RateLimiter.create(5.0, 4000, MILLISECONDS, 10.0, stopwatch);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    	}
    	return true
    }
    
    func isUserInfoEqual(u1, u2 madmin.UserInfo) bool {
    	if u1.PolicyName != u2.PolicyName ||
    		u1.Status != u2.Status ||
    		u1.SecretKey != u2.SecretKey {
    		return false
    	}
    	for len(u1.MemberOf) != len(u2.MemberOf) {
    		return false
    	}
    	for _, v1 := range u1.MemberOf {
    		var found bool
    		if slices.Contains(u2.MemberOf, v1) {
    			found = true
    		}
    		if !found {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
Back to top