- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,178 for First (0.41 sec)
-
tests/non_std_test.go
DB.First(&animal, animal.Counter) if animal.Name != "galeone" { t.Errorf("Name fields shouldn't be changed if untouched, but got %v", animal.Name) } // When changing a field with a default value, the change must occur animal.Name = "amazing horse" DB.Save(&animal) DB.First(&animal, animal.Counter) if animal.Name != "amazing horse" {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
if (first.getPath() != null) { expectedPathConsumed -= (first.getPath().length() + 1); } assertEquals(expectedPathConsumed, combined.getPathConsumed()); } @Test @DisplayName("Should combine when first has null path") void testCombineWithNullPath() { // Create first with null path
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
buffer.order(ByteOrder.LITTLE_ENDIAN); // First notification with nextEntryOffset pointing to second int secondOffset = 48; buffer.putInt(secondOffset); // nextEntryOffset to second entry buffer.putInt(FileNotifyInformation.FILE_ACTION_ADDED); String fileName1 = "first.txt"; byte[] fileNameBytes1 = fileName1.getBytes("UTF-16LE");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
} } /** * Constructs an {@code ImmutableSortedSet} from the first {@code n} elements of {@code contents}. * If {@code k} is the size of the returned {@code ImmutableSortedSet}, then the sorted unique * elements are in the first {@code k} positions of {@code contents}, and {@code contents[i] == * null} for {@code k <= i < n}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
// Load data first protwordsFile.reload(null); // Test with offset out of bounds PagingList<ProtwordsItem> list = protwordsFile.selectList(100, 10); assertEquals(0, list.size()); assertTrue(list.isEmpty()); } public void test_selectList_negativeOffset() { // Load data first protwordsFile.reload(null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
// Should alternate between channels ChannelInfo first = loadBalancer.selectChannel(mockMessage); ChannelInfo second = loadBalancer.selectChannel(mockMessage); assertNotNull(first); assertNotNull(second); // Due to round-robin, should get different channels or same order assertTrue(Arrays.asList(channel1, channel2).contains(first));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.7K bytes - Viewed (0) -
chainable_api.go
// // // Find the first user with name jinzhu // db.Where("name = ?", "jinzhu").First(&user) // // Find the first user with name jinzhu and age 20 // db.Where(&User{Name: "jinzhu", Age: 20}).First(&user) // // Find the first user with name jinzhu and age not equal to 20 // db.Where("name = ?", "jinzhu").Where("age <> ?", "20").First(&user) // // [docs]: https://gorm.io/docs/query.html#Conditions
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 14.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
assertTrue(broken.hasNext()); // We can't retrieve even the known first element: assertThrows(SomeUncheckedException.class, broken::next); assertThrows(SomeUncheckedException.class, broken::next); } private static Iterator<Integer> newDoubler(int first, int last) { return new AbstractSequentialIterator<Integer>(first) { @Override protected @Nullable Integer computeNext(Integer previous) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
String result = StringUtil.join(null, "first", "second", "third"); assertEquals("firstnullsecondnullthird", result); } @Test @DisplayName("Should handle null elements in array") void testJoinWithNullElements() { String result = StringUtil.join(",", "first", null, "third"); assertEquals("first,null,third", result); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0) -
guava/src/com/google/common/base/Joiner.java
@CanIgnoreReturnValue public final <A extends Appendable> A appendTo( A appendable, @Nullable Object first, @Nullable Object second, @Nullable Object... rest) throws IOException { return appendTo(appendable, iterable(first, second, rest)); } /** * Appends the string representation of each of {@code parts}, using the previously configured
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0)