- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 683 for sets (0.05 seconds)
-
guava-tests/test/com/google/common/collect/MapsTest.java
assertThrows( UnsupportedOperationException.class, () -> inverse.putAll(singletonMap("four", 4))); Set<String> values = unmod.values(); assertThrows(UnsupportedOperationException.class, () -> values.remove("four")); Set<Entry<Number, String>> entries = unmod.entrySet(); Entry<Number, String> entry = entries.iterator().next();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 65K bytes - Click Count (0) -
guava/src/com/google/common/graph/ValueGraph.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 16K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer.go
size: size, } } // NewBuffer returns a new RingBuffer whose buffer is provided. func NewBuffer(b []byte) *RingBuffer { return &RingBuffer{ buf: b, size: len(b), } } // SetBlocking sets the blocking mode of the ring buffer. // If block is true, Read and Write will block when there is no data to read or no space to write. // If block is false, Read and Write will return ErrIsEmpty or ErrIsFull immediately.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMap.java
public void putAll(Map<? extends K, ? extends V> map) { delegate().putAll(map); } @Override public Set<K> keySet() { return delegate().keySet(); } @Override public Collection<V> values() { return delegate().values(); } @Override public Set<Entry<K, V>> entrySet() { return delegate().entrySet(); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
Currency.DOLLAR, "dollar", Currency.PESO, "peso", Currency.FRANC, "franc"); EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); Set<Object> uniqueEntries = Sets.newIdentityHashSet(); uniqueEntries.addAll(bimap.entrySet()); assertEquals(3, uniqueEntries.size()); } @GwtIncompatible @J2ktIncompatible public void testSerializable() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 8.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
} } return super.equals(object); } // copied to make sure not to use the GWT-emulated version @Override public int hashCode() { return Sets.hashCodeImpl(this); } @GwtIncompatible @J2ktIncompatible private static final class SerializedForm<C extends Comparable> implements Serializable { final Range<C> range;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashing.java
} else if (table instanceof short[]) { return ((short[]) table)[index] & SHORT_MASK; // unsigned read } else { return ((int[]) table)[index]; } } /** * Sets {@code table[index]} to {@code entry}, where {@code table} is actually a {@code byte[]}, * {@code short[]}, or {@code int[]}. The value of {@code entry} should fit in the size of the
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.features; import static com.google.common.collect.Sets.newHashSet; import static com.google.common.collect.testing.features.FeatureEnumTest.assertGoodFeatureEnum; import static com.google.common.collect.testing.features.FeatureUtil.addImpliedFeatures;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 11.6K bytes - Click Count (0) -
cmd/bucket-policy-handlers_test.go
// test cases with sample input and expected output. testCases := []struct { bucketName string // bucket policy to be set, // set as request body. bucketPolicyReader io.ReadSeeker // length in bytes of the bucket policy being set. policyLen int accessKey string secretKey string // expected Response. expectedRespStatus int }{ // Test case - 1. {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.9K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
new({{.Element}}), y: new({{.Element}}).One(), z: new({{.Element}}), } } // SetGenerator sets p to the canonical generator and returns p. func (p *{{.P}}Point) SetGenerator() *{{.P}}Point { p.x.SetBytes({{.Gx}}) p.y.SetBytes({{.Gy}}) p.z.One() return p } // Set sets p = q and returns p. func (p *{{.P}}Point) Set(q *{{.P}}Point) *{{.P}}Point { p.x.Set(q.x) p.y.Set(q.y) p.z.Set(q.z) return p } // SetBytes sets p to the compressed, uncompressed, or infinity value encoded in // b, as specified in SEC...Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0)