- Sort Score
- Num 10 results
- Language All
Results 2241 - 2250 of 4,250 for inst (0.21 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
@Override void setCountCheckReturnValue(E element, int count) { assertTrue( "setCount() with the correct expected present count should return true", setCount(element, count)); } @Override void setCountNoCheckReturnValue(E element, int count) { setCount(element, count); } @CanIgnoreReturnValue private boolean setCount(E element, int count) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
private final ByteArrayOutputStream out = new ByteArrayOutputStream(); @Override protected void update(byte b) { out.write(b); } @Override protected void update(byte[] b, int off, int len) { out.write(b, off, len); } byte[] bytes() { return out.toByteArray(); } void assertBytes(byte[] expected) { assertArrayEquals(expected, bytes());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EmptyContiguousSet.java
} @Override public C first() { throw new NoSuchElementException(); } @Override public C last() { throw new NoSuchElementException(); } @Override public int size() { return 0; } @Override public ContiguousSet<C> intersection(ContiguousSet<C> other) { return this; } @Override public Range<C> range() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java
public void testSize() { int expectedSize = getNumElements(); Multimap<K, V> multimap = multimap(); assertEquals(expectedSize, multimap.size()); int size = 0; for (Entry<K, V> entry : multimap.entries()) { assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue())); size++; } assertEquals(expectedSize, size); int size2 = 0;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
/** * @author y-komori * */ public class FieldUtilTest { /** */ public Object objectField; /** */ public int intField; /** */ public String stringField; /** */ public static final int INT_DATA = 987654321; /** */ public static final String STRING_DATA = "Hello World!"; /** * @throws Exception */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 4.1K bytes - Click Count (0) -
cmd/erasure-encode.go
type multiWriter struct { writers []io.Writer writeQuorum int errs []error } // Write writes data to writers. func (p *multiWriter) Write(ctx context.Context, blocks [][]byte) error { for i := range p.writers { if p.errs[i] != nil { continue } if p.writers[i] == nil { p.errs[i] = errDiskNotFound continue } var n int n, p.errs[i] = p.writers[i].Write(blocks[i])Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringMultisetGenerator.java
public Multiset<String> create(Object... elements) { String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } protected abstract Multiset<String> create(String[] elements); @Override public String[] createArray(int length) { return new String[length]; } /** Returns the original element list, unchanged. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ComparatorOrdering.java
implements Serializable { final Comparator<T> comparator; ComparatorOrdering(Comparator<T> comparator) { this.comparator = checkNotNull(comparator); } @Override public int compare(@ParametricNullness T a, @ParametricNullness T b) { return comparator.compare(a, b); } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 1.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/SAXRuntimeException.java
final SAXParseException e = (SAXParseException) cause; if (e.getSystemId() != null) { buf.append(" at ").append(e.getSystemId()); } final int lineNumber = e.getLineNumber(); final int columnNumber = e.getColumnNumber(); buf.append("( lineNumber = ").append(lineNumber).append(", columnNumber = ").append(columnNumber).append(")"); } return new String(buf);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2K bytes - Click Count (0)