- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 634 for Arrange (0.12 seconds)
-
clause/set_test.go
clause.Set([]clause.Assignment{{clause.Column{Name: "name"}, "jinzhu"}}), }, "UPDATE `users` SET `name`=?", []interface{}{"jinzhu"}, }, } for idx, result := range results { t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) { checkBuildClauses(t, result.Clauses, result.Result, result.Vars) }) } } func TestAssignments(t *testing.T) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 11:18:54 GMT 2025 - 1.5K bytes - Click Count (0) -
clause/returning.go
func (returning Returning) Name() string { return "RETURNING" } // Build build where clause func (returning Returning) Build(builder Builder) { if len(returning.Columns) > 0 { for idx, column := range returning.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column) } } else { builder.WriteByte('*') } } // MergeClause merge order by clauses
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Jan 12 10:18:04 GMT 2025 - 777 bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java
@NullUnmarked public class PowerSetBenchmark { @Param({"2", "4", "8", "16"}) int elements; Set<Set<Integer>> powerSet; @BeforeExperiment void setUp() { Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers()); powerSet = Sets.powerSet(set); } @Benchmark int iteration(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (Set<Integer> subset : powerSet) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
ImmutableSet::builder, ImmutableSet.Builder::add, ImmutableSet.Builder::combine, ImmutableSet.Builder::build); @GwtIncompatible private static final Collector<Range<Comparable<?>>, ?, ImmutableRangeSet<Comparable<?>>> TO_IMMUTABLE_RANGE_SET = Collector.of( ImmutableRangeSet::builder, ImmutableRangeSet.Builder::add,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectCollectors.java
ImmutableSet::builder, ImmutableSet.Builder::add, ImmutableSet.Builder::combine, ImmutableSet.Builder::build); @GwtIncompatible private static final Collector<Range<Comparable<?>>, ?, ImmutableRangeSet<Comparable<?>>> TO_IMMUTABLE_RANGE_SET = Collector.of( ImmutableRangeSet::builder, ImmutableRangeSet.Builder::add,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.6K bytes - Click Count (0) -
statement_test.go
} } func TestNilCondition(t *testing.T) { s := new(Statement) if len(s.BuildCondition(nil)) != 0 { t.Errorf("Nil condition should be empty") } } func TestNameMatcher(t *testing.T) { for k, v := range map[string][]string{ "table.name": {"table", "name"}, "`table`.`name`": {"table", "name"}, "'table'.'name'": {"table", "name"}, "'table'.name": {"table", "name"},
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Dec 23 13:19:41 GMT 2023 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/SignedBytes.java
* * @param value any value in the range of the {@code byte} type * @return the {@code byte} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Byte#MAX_VALUE} or * less than {@link Byte#MIN_VALUE} */ public static byte checkedCast(long value) { byte result = (byte) value; checkArgument(result == value, "Out of range: %s", value); return result; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.2K bytes - Click Count (0) -
tests/embedded_struct_test.go
} DB.Migrator().DropTable(&HNPost{}, &EngadgetPost{}) if err := DB.Migrator().AutoMigrate(&HNPost{}, &EngadgetPost{}); err != nil { t.Fatalf("failed to auto migrate, got error: %v", err) } for _, name := range []string{"author_id", "author_name", "author_email"} { if !DB.Migrator().HasColumn(&EngadgetPost{}, name) { t.Errorf("should has prefixed column %v", name) } } stmt := gorm.Statement{DB: DB}
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 7.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0) -
tests/hooks_test.go
} DB.Create(&products) for idx, value := range []int64{200, 300, 400} { if products[idx].Price != value { t.Errorf("invalid price for product #%v, expects: %v, got %v", idx, value, products[idx].Price) } } DB.Model(&products).Update("Name", "product-name") // will set all product's price to last product's price + 10 for idx, value := range []int64{410, 410, 410} { if products[idx].Price != value {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jun 17 03:59:06 GMT 2024 - 16.7K bytes - Click Count (0)