- Sort Score
- Result 10 results
- Languages All
Results 1081 - 1090 of 3,402 for rint (0.07 sec)
-
src/main/java/jcifs/util/transport/Request.java
/** * * */ public interface Request extends Message { /** * @return number of credits this request requires */ int getCreditCost (); /** * @param credits */ void setRequestCredits ( int credits ); /** * @return whether this is a cancel request */ boolean isCancel (); /** * @return chained request
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
/** * Tests for {@link AtomicLongMap}. * * @author mike nonemacher */ @GwtCompatible(emulated = true) public class AtomicLongMapTest extends TestCase { private static final int ITERATIONS = 100; private static final int MAX_ADDEND = 100; private final Random random = new Random(301); @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
int last = 0; for (int shards = 2; shards <= MAX_SHARDS; shards++) { int chosen = Hashing.consistentHash(h, shards); if (chosen != last) { map.incrementAndGet(shards); last = chosen; } } } private static final int ITERS = 10000; private static final int MAX_SHARDS = 500;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
// ceil(199*index/2). if (index % 2 == 0) { int position = IntMath.divide(199 * index, 2, UNNECESSARY); return PSEUDORANDOM_DATASET_SORTED.get(position); } else { int positionFloor = IntMath.divide(199 * index, 2, FLOOR); int positionCeil = IntMath.divide(199 * index, 2, CEILING); double lowerValue = PSEUDORANDOM_DATASET_SORTED.get(positionFloor);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 29.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
} public String getNetbiosName() { return netbiosName; } private String getNtlmsspListItem(byte[] type2token, int id0) { int ri = 58; for ( ;; ) { int id = Encdec.dec_uint16le(type2token, ri); int len = Encdec.dec_uint16le(type2token, ri + 2); ri += 4; if (id == 0 || (ri + len) > type2token.length) { break;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 5.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractByteHasher.java
protected void update(byte[] b) { update(b, 0, b.length); } /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */ protected void update(byte[] b, int off, int len) { for (int i = off; i < off + len; i++) { update(b[i]); } } /** Updates this hasher with bytes from the given buffer. */ protected void update(ByteBuffer b) { if (b.hasArray()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.5K bytes - Viewed (0) -
docs/extensions/s3zip/examples/boto3/main.py
event_system = s3.meta.events event_system.register_first('before-sign.s3.*', _add_header) # List zip contents response = s3.list_objects_v2(Bucket="your-bucket", Prefix="path/to/file.zip/") print(response) # Download data.csv stored in the zip file
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 04 21:15:45 UTC 2021 - 771 bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
* context to use * @param type2 * The Type-2 message. * @return An <code>int</code> containing the default flags. */ public static int getDefaultFlags ( CIFSContext tc, Type2Message type2 ) { if ( type2 == null ) return getDefaultFlags(tc); int flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 30.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.java
@BeforeExperiment void setUp() { sampleData = new CollectionBenchmarkSampleData(true, random, 0.8, size); } @Benchmark int creation(int reps) { int x = 0; for (int i = 0; i < reps; i++) { x ^= System.identityHashCode(impl.create(sampleData.getValuesInSet())); } return x; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
buf[bufLen++] = getChar(h); int x0 = buf[bufLen - 1] & 0xff; int x1 = buf[bufLen - 2] & 0xff; int x2 = buf[bufLen - 3] & 0xff; int x3 = buf[bufLen / 2] & 0xff; buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3; buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256; } assertEquals(0x7a1d67c50ec7e167L, h); } private static long remix(long h) { h ^= h >>> 41;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.2K bytes - Viewed (0)