- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,392 for First (0.04 sec)
-
android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java
@ParametricNullness protected abstract E get(int index); /** * Constructs an iterator across a sequence of the given size whose initial position is 0. That * is, the first call to {@link #next()} will return the first element (or throw {@link * NoSuchElementException} if {@code size} is zero). * * @throws IllegalArgumentException if {@code size} is negative */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
return array; } /** * Returns the index of the first occurrence of the specified object in the array. * * @param <T> * the type of the array elements * @param array * the array * @param obj * the object to search for * @return the index of the first occurrence of the object in the array */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0) -
guava/src/com/google/common/base/MoreObjects.java
* * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier) * first.or(supplier)}. * * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)} * instead. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
* * @param first the first array of elements to concatenate * @param second the second array of elements to concatenate * @param type the component type of the returned array */ @GwtIncompatible // Array.newInstance(Class, int) public static <T extends @Nullable Object> T[] concat( T[] first, T[] second, Class<@NonNull T> type) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:48:28 UTC 2025 - 8.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java
* This event means that the artifactScope has NOT been updated to a farther node artifactScope because current * node is in the first level pom * * @param artifact current node artifact, the one in the first level pom * @param ignoredScope artifactScope that was ignored because artifact was in first level pom */ void updateScopeCurrentPom(Artifact artifact, String ignoredScope);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
assertTrue(it.hasNext()); FileEntry e2 = it.next(); // Assert assertNotNull(e1); assertNotNull(e2); assertEquals("first", e1.getName()); assertEquals(acceptedName, e2.getName(), "Should return the first name accepted by filter"); // Verify filter interactions: not called for '.' and '..', called for others verify(nameFilter, never()).accept(parent, ".");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
tests/soft_delete_test.go
if !regexp.MustCompile(`SELECT .name. FROM user u WHERE .u.\..deleted_at. IS NULL`).MatchString(sql) { t.Errorf("Table with escape character, got %v", sql) } if DB.First(&User{}, "name = ?", user.Name).Error == nil { t.Errorf("Can't find a soft deleted record") } count = 0 if DB.Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 0 {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Feb 01 06:40:55 UTC 2023 - 5.7K bytes - Viewed (0) -
tests/serializer_test.go
if err := DB.Where("roles2 IS NULL AND roles3 = ?", "").First(&result, data.ID).Error; err != nil { t.Fatalf("failed to query data, got error %v", err) } AssertEqual(t, result, data) if err := DB.Model(&result).Update("roles", "").Error; err != nil { t.Fatalf("failed to update data's roles, got error %v", err) } if err := DB.First(&result, data.ID).Error; err != nil {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Nov 22 03:14:36 UTC 2025 - 9.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/Gradleception.kt
1. Build a Gradle distribution with a fixed timestamp and hash it, but never use this distribution. 2. Build a Gradle distribution with this hash as a version + fixed timestamp -> dogfood-first 3. Build a Gradle distribution using dogfood-first with this hash as a version + fixed timestamp different from the one above -> dogfood-second 4. Use dogfood-second to run a Gradle build which runs tests. */Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 09 05:26:45 UTC 2025 - 7.3K bytes - Viewed (0) -
tests/test_security_http_digest_optional.py
assert response.json() == {"msg": "Create an account first"} def test_security_http_digest_incorrect_scheme_credentials(): response = client.get( "/users/me", headers={"Authorization": "Other invalidauthorization"} ) assert response.status_code == 200, response.text assert response.json() == {"msg": "Create an account first"} def test_openapi_schema():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Feb 27 12:29:20 UTC 2025 - 2.2K bytes - Viewed (0)