- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 1,195 for last (0.02 seconds)
-
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
assertTrue(filtered.isEmpty()); } } } public void testLast() { for (List<Integer> contents : SAMPLE_INPUTS) { C filtered = filter(createUnfiltered(contents), EVEN); try { Integer first = filtered.last(); assertFalse(filtered.isEmpty()); assertEquals(Ordering.natural().max(filtered), first);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 13.1K bytes - Click Count (0) -
cmd/erasure-decode.go
if p.buf[bufIdx] == nil { // Reading first time on this disk, hence the buffer needs to be allocated. // Subsequent reads will reuse this buffer. p.buf[bufIdx] = make([]byte, p.shardSize) } // For the last shard, the shardsize might be less than previous shard sizes. // Hence the following statement ensures that the buffer size is reset to the right size. p.buf[bufIdx] = p.buf[bufIdx][:p.shardSize]
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 29 01:40:52 GMT 2024 - 9.5K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* {@link #get} instead. * * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As * explained in the last paragraph above, this should be an unchecked exception only.) * @throws ExecutionError if an error was thrown while loading the value */ @CanIgnoreReturnValue // TODO(b/27479612): consider removing this?Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 8.3K bytes - Click Count (0) -
src/archive/zip/reader.go
// just ignore these. return nil } func readDirectoryEnd(r io.ReaderAt, size int64) (dir *directoryEnd, baseOffset int64, err error) { // look for directoryEndSignature in the last 1k, then in the last 65k var buf []byte var directoryEndOffset int64 for i, bLen := range []int64{1024, 65 * 1024} { if bLen > size { bLen = size } buf = make([]byte, int(bLen))
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Mar 11 22:19:38 GMT 2025 - 28.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
private static boolean isTimed(Method method) { return isLongTimeUnitBased(method) || isDurationBased(method); } /** Determines whether the given method takes a time and unit as its last two parameters. */ private static boolean isLongTimeUnitBased(Method method) { Class<?>[] parameterTypes = method.getParameterTypes(); return parameterTypes.length >= 2
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 27.1K bytes - Click Count (0) -
cmd/erasure-server-pool-rebalance.go
RebalancedBuckets []string `json:"rebalancedBuckets" msg:"rbs"` // buckets rebalanced Bucket string `json:"bucket" msg:"bu"` // Last rebalanced bucket Object string `json:"object" msg:"ob"` // Last rebalanced object NumObjects uint64 `json:"numObjects" msg:"no"` // Number of objects rebalanced
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 28.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate(); SortedSet<@Nullable String> keySet = multimap.keySet(); assertEquals(null, keySet.first()); assertEquals("google", keySet.last()); assertEquals(StringLength.COMPARATOR, keySet.comparator()); assertEquals(Sets.<@Nullable String>newHashSet(null, "tree"), keySet.headSet("yahoo")); assertEquals(newHashSet("google"), keySet.tailSet("yahoo"));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.4K bytes - Click Count (0) -
internal/event/target/nsq.go
if err := target.init(); err != nil { return err } _, err := target.isActive() if err != nil { return err } eventData, eErr := target.store.Get(key) if eErr != nil { // The last event key in a successful batch will be sent in the channel atmost once by the replayEvents() // Such events will not exist and wouldve been already been sent successfully. if os.IsNotExist(eErr) { return nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7.1K bytes - Click Count (0) -
generics.go
} func (g execG[T]) Scan(ctx context.Context, result interface{}) error { var r T err := g.g.apply(ctx).Model(r).Find(result).Error return err } func (g execG[T]) Last(ctx context.Context) (T, error) { var r T err := g.g.apply(ctx).Last(&r).Error return r, err } func (g execG[T]) Take(ctx context.Context) (T, error) { var r T err := g.g.apply(ctx).Take(&r).Error return r, err }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 25.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0)