- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 1,054 for first (0.03 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java
public void testPeek_size1() { assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek()); expectUnchanged(); } @CollectionFeature.Require(KNOWN_ORDER) @CollectionSize.Require(SEVERAL) public void testPeek_sizeMany() { assertEquals("sizeManyQueue.peek() should return first element", e0(), getQueue().peek()); expectUnchanged(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java
* <p><b>Warning:</b> If the input future does not already implement {@code ListenableFuture}, the * returned future will emulate {@link ListenableFuture#addListener} by taking a thread from an * internal, unbounded pool at the first call to {@code addListener} and holding it until the * future is {@linkplain Future#isDone() done}. * * <p>Prefer to create {@code ListenableFuture} instances with {@link SettableFuture}, {@linkCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
* * @param first the first entry of the table * @param entry the entry being removed from the table * @return the new first entry for the table */ @GuardedBy("this") @Nullable E removeFromChain(E first, E entry) { int newCount = count; E newFirst = entry.getNext(); for (E e = first; e != entry; e = e.getNext()) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 89.9K bytes - Click Count (0) -
cmd/os-reliable.go
// syscall.ENOTEMPTY (children has files). func reliableRemoveAll(dirPath string) (err error) { i := 0 for { // Removes all the directories and files. if err = RemoveAll(dirPath); err != nil { // Retry only for the first retryable error. if isSysErrNotEmpty(err) && i == 0 { i++ continue } } break } return err } // Wrapper functions to os.MkdirAll, which calls reliableMkdirAll
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Apr 22 17:49:30 GMT 2024 - 5.8K bytes - Click Count (0) -
tests/associations_many2many_test.go
AssertEqual(t, nil, err) var findUser1 User err = DB.Preload("Languages").Where("id = ?", user1.ID).First(&findUser1).Error AssertEqual(t, nil, err) AssertEqual(t, user1, findUser1) var findUser2 User err = DB.Preload("Languages").Where("id = ?", user2.ID).First(&findUser2).Error AssertEqual(t, nil, err) AssertEqual(t, user2, findUser2) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Jun 10 13:05:19 GMT 2023 - 13.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
* Returns an {@link Optional} containing the first element in this fluent iterable. If the * iterable is empty, {@code Optional.absent()} is returned. * * <p><b>{@code Stream} equivalent:</b> if the goal is to obtain any element, {@link * Stream#findAny}; if it must specifically be the <i>first</i> element, {@code Stream#findFirst}. * * @throws NullPointerException if the first element is null; if this is a possibility, use {@codeCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 34.7K bytes - Click Count (0) -
internal/s3select/csv/reader.go
r.columnNames = columns } } r.bufferPool.New = func() []byte { return make([]byte, csvSplitSize+1024) } // Return first block next, nextErr := r.nextSplit(csvSplitSize, r.bufferPool.Get()) // Check if first block is valid. if !utf8.Valid(next) { return errInvalidTextEncodingError() } // Create queue r.queue = make(chan *queueItem, runtime.GOMAXPROCS(0))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuilder.java
* The model building request passed to this method must be the same as the one used for the first phase of the * model building. * * @param request The model building request that holds the parameters, must not be {@code null}. * @param result The interim result of the first phase of model building, must not be {@code null}. * @return The result of the model building, never {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableList.java
@SuppressWarnings("serial") // uses writeReplace(), not default serialization final class RegularImmutableList<E> extends ImmutableList<E> { static final ImmutableList<Object> EMPTY = new RegularImmutableList<>(new Object[0], 0); // The first `size` elements are non-null. @VisibleForTesting final transient @Nullable Object[] array; private final transient int size; RegularImmutableList(@Nullable Object[] array, int size) { this.array = array;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0) -
build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt
└── $exampleClass$testFileSuffix.${descriptor.language.extension}""" } } val buildFileComments = comments.values.first().stream().map { c: String -> "<" + (comments.values.first().indexOf(c) + 1) + "> " + c }.collect(Collectors.joining("\n")) val testFrameworkChoice = if (descriptor.testFrameworks.size > 1) """ Select test framework: 1: JUnit 4 2: TestNGCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Dec 15 07:49:41 GMT 2024 - 13.5K bytes - Click Count (0)