Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 4,435 for useAbs (0.1 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    diagnostics vary widely among users. The design of this framework does
    not hold each Analyzer responsible for identifying the severity of its
    diagnostics. Instead, we expect that drivers will allow the user to
    customize the filtering and prioritization of diagnostics based on the
    producing Analyzer and optional Category, according to the user's
    preferences.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. logger/sql_test.go

    		Result        string
    	}{
    		{
    			SQL:           "create table users (name, age, height, actived, bytes, create_at, update_at, deleted_at, email, role, pass) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
    			NumericRegexp: nil,
    			Vars:          []interface{}{"jinzhu", 1, 999.99, true, []byte("12345"), tt, &tt, nil, "w@g.\"com", myrole, pwd},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/transport/transport.go

    // specified cert, key, and ca. The flags tls_cert, tls_key, and tls_ca are
    // added to the flagset to allow a user to specify the cert, key, and ca. If
    // the flagset is nil, no flags will be added, and users will not be able to
    // use these flags.
    func New(flagset plugin.FlagSet) http.RoundTripper {
    	if flagset == nil {
    		return &transport{}
    	}
    	flagset.AddExtraUsage(extraUsage)
    	return &transport{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  4. tests/migrate_test.go

    		t.Fatalf("Should find index for user's name after rename")
    	}
    
    	if err := DB.Migrator().DropIndex(&IndexStruct{}, "idx_users_name_1"); err != nil {
    		t.Fatalf("Failed to drop index for user's name, got err %v", err)
    	}
    
    	if DB.Migrator().HasIndex(&IndexStruct{}, "idx_users_name_1") {
    		t.Fatalf("Should not find index for user's name after delete")
    	}
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  5. tests/count_test.go

    	}
    
    	var count4 int64
    	if err := DB.Table("users").Joins("LEFT JOIN companies on companies.name = users.name").Where("users.name = ?", user1.Name).Count(&count4).Error; err != nil || count4 != 1 {
    		t.Errorf("count with join, got error: %v, count %v", err, count4)
    	}
    
    	var count5 int64
    	if err := DB.Table("users").Where("users.name = ?", user1.Name).Order("name").Count(&count5).Error; err != nil || count5 != 1 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Stopwatch.java

     * that is already in the desired state.
     *
     * <p>When testing code that uses this class, use {@link #createUnstarted(Ticker)} or {@link
     * #createStarted(Ticker)} to supply a fake or mock ticker. This allows you to simulate any valid
     * behavior of the stopwatch.
     *
     * <p><b>Note:</b> This class is not thread-safe.
     *
     * <p><b>Warning for Android users:</b> a stopwatch with default behavior may not continue to keep
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          // For these users fallback to a suboptimal implementation, based on synchronized. This will
          // be a definite performance hit to those users.
          thrownReflectionFailure = reflectionFailure;
          helper = new SynchronizedAtomicHelper();
        }
        ATOMIC_HELPER = helper;
        // Log after all static init is finished; if an installed logger uses any Futures methods, it
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. tests/associations_many2many_test.go

    	if err := DB.Model(&users).Association("Languages").Delete(users[0].Languages[0], users[1].Languages[1]); err != nil {
    		t.Errorf("no error should happened when deleting language, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Languages", 2, "after delete")
    
    	// Clear
    	DB.Model(&users).Association("Languages").Clear()
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  9. pkg/log/scope.go

    	for k, v := range scopes {
    		s[k] = v
    	}
    
    	return s
    }
    
    // Fatal uses fmt.Sprint to construct and log a message at fatal level.
    func (s *Scope) Fatal(msg any) {
    	if s.GetOutputLevel() >= FatalLevel {
    		s.emit(zapcore.FatalLevel, fmt.Sprint(msg))
    	}
    }
    
    // Fatalf uses fmt.Sprintf to construct and log a message at fatal level.
    func (s *Scope) Fatalf(format string, args ...any) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 16:47:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. tests/sql_builder_test.go

    			t.Errorf("Should have two users having name %v", users[1].Name)
    		}
    	}
    }
    
    func TestQueryRaw(t *testing.T) {
    	users := []*User{
    		GetUser("row_query_user", Config{}),
    		GetUser("row_query_user", Config{}),
    		GetUser("row_query_user", Config{}),
    	}
    	DB.Create(&users)
    
    	var user User
    	DB.Raw("select * from users WHERE id = ?", users[1].ID).First(&user)
    	CheckUser(t, user, *users[1])
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top