- Sort Score
- Num 10 results
- Language All
Results 1041 - 1050 of 3,240 for size (0.04 seconds)
-
android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java
: Sets.union(inEdgeMap.keySet(), outEdgeMap.keySet()); return Iterators.unmodifiableIterator(incidentEdges.iterator()); } @Override public int size() { return IntMath.saturatedAdd(inEdgeMap.size(), outEdgeMap.size() - selfLoopCount); } @Override public boolean contains(@Nullable Object obj) { return inEdgeMap.containsKey(obj) || outEdgeMap.containsKey(obj); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.5K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java
*/ final class SingletonImmutableSet<E> extends ImmutableSet<E> { private final E element; SingletonImmutableSet(E element) { this.element = checkNotNull(element); } @Override public int size() { return 1; } @Override public UnmodifiableIterator<E> iterator() { return Iterators.singletonIterator(element); } @Override public boolean contains(@Nullable Object object) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 22:23:20 GMT 2025 - 1.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
return map.containsKey(object); } @Override boolean isPartialView() { return true; } @Override public int size() { return map.size(); } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatible @GwtIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 15.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
if (locale == null) { return Locale.ROOT; } return locale; } /** * Formats a file size in bytes to a human-readable string with appropriate units. * * @param value the file size in bytes * @return formatted file size string (e.g., "1.5M", "2.3G", "512K") */ public static String formatFileSize(final long value) { double target = value;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.4K bytes - Click Count (1) -
guava/src/com/google/common/collect/RegularContiguousSet.java
@Override ImmutableSortedSet<C> delegateCollection() { return RegularContiguousSet.this; } @Override public C get(int i) { checkElementIndex(i, size()); return domain.offset(first(), i); } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java
* or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ package org.elasticsearch.gradle.internal.test; import org.gradle.api.internal.tasks.testing.logging.FullExceptionFormatter;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
assertEquals(5, runnable.count); assertEquals(0, delegate.getQueue().size()); runnable = new ThrowingRunnable(5, ex); future = service.scheduleWithFixedDelay(runnable, 1, 1, MILLISECONDS); assertExecutionException(future, ex); assertEquals(5, runnable.count); assertEquals(0, delegate.getQueue().size()); } public void testListeningDecorator_cancelled() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java
} @Override public boolean containsAll(Collection<?> targets) { return delegate.containsAll(targets); } @Override public int size() { return delegate.size(); } @Override public boolean isEmpty() { return delegate.isEmpty(); } @Override public Object[] toArray() { return delegate.toArray(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.1K bytes - Click Count (0) -
src/bufio/bufio_test.go
if got, want := NewReader(nil).Size(), DefaultBufSize; got != want { t.Errorf("NewReader's Reader.Size = %d; want %d", got, want) } if got, want := NewReaderSize(nil, 1234).Size(), 1234; got != want { t.Errorf("NewReaderSize's Reader.Size = %d; want %d", got, want) } } func TestWriterSize(t *testing.T) { if got, want := NewWriter(nil).Size(), DefaultBufSize; got != want {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
public int getReadLength() { return readLength; } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size() { return size8(Smb2Constants.SMB2_HEADER_LENGTH + 49); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.8K bytes - Click Count (0)