- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 990 for Element (2.35 sec)
-
tests/update_test.go
Where("id = ?", elem.Id). Updates(&ElementWithIgnoredField{Value: "bar", IgnoredField: 100}) var result ElementWithIgnoredField if err := DB.First(&result, elem.Id).Error; err != nil { t.Errorf("error getting an element from database: %s", err.Error()) } if result.IgnoredField != 0 { t.Errorf("element's ignored field should not be updated") } } func TestUpdateFromSubQuery(t *testing.T) {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 30.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
assertThat(q.poll(0, MILLISECONDS)).isNull(); assertEquals("[]", q.toString()); assertThat(q.toArray()).isEmpty(); assertFalse(q.iterator().hasNext()); try { q.element(); fail("Should throw exception"); } catch (NoSuchElementException success) { } try { q.iterator().next(); fail("Should throw exception");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 37.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 51.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
@Override public Iterable<? extends Character> successors(Character node) { checkArgument( graphMap.containsKey(node) || graphMap.containsValue(node), "Node %s is not an element of this graph", node); return Ordering.natural().immutableSortedCopy(graphMap.get(node)); } }; } private static ImmutableGraph<Character> createSingleRootGraph() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 17:09:51 UTC 2025 - 47.4K bytes - Viewed (2) -
tests/generics_test.go
// Verify it implements AssociationAssigner interface assocAssignments := assoc.AssociationAssignments() if len(assocAssignments) != 1 { t.Errorf("Association.AssociationAssignments() should return slice with one element, got %v", assocAssignments) } if assocAssignments[0].Association != "Orders" { t.Errorf("Association.AssociationAssignments()[0].Association should be 'Orders', got %v", assocAssignments[0].Association) }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Nov 02 14:09:18 UTC 2025 - 33.7K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
* b}, then an {@code IndexOutOfBoundsException} is thrown. If {@code len} is zero, then no bytes * are read. Otherwise, the first byte read is stored into element {@code b[off]}, the next one * into {@code b[off+1]}, and so on. The number of bytes read is, at most, equal to {@code len}. * * @param in the input stream to read fromRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
throws Exception { // Only start measuring table size after the first element inserted, to // deal with empty-map optimization. map1.put(0, null); int initialBuckets = bucketsOf(map1); for (int i = 1; i < size; i++) { map1.put(i, null); } assertWithMessage("table size after adding %s elements", size) .that(bucketsOf(map1)) .isEqualTo(initialBuckets);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
</Rule> </LifecycleConfiguration>`, expectedParsingErr: nil, expectedValidationErr: nil, }, { // Using ExpiredObjectAllVersions element with an object locked bucket inputConfig: `<LifecycleConfiguration> <Rule> <ID>ExpiredObjectAllVersions with object locking</ID>Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 55.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* * <p>If the {@link File} passed to one of the {@link Traverser} methods does not exist or is not * a directory, no exception will be thrown and the returned {@link Iterable} will contain a * single element: that file. * * <p>Example: {@code Files.fileTraverser().depthFirstPreOrder(new File("/"))} may return files * with the following paths: {@code ["/", "/etc", "/etc/config.txt", "/etc/fonts", "/home",Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (0) -
cmd/utils.go
return lcp(strs, false) } func lcp(strs []string, pre bool) string { // short-circuit empty list if len(strs) == 0 { return "" } xfix := strs[0] // short-circuit single-element list if len(strs) == 1 { return xfix } // compare first to rest for _, str := range strs[1:] { xfixl := len(xfix) strl := len(str) // short-circuit empty strings
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 33K bytes - Viewed (0)