- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 3,766 for 0$ (0.05 sec)
-
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
- Random random = new Random(0);
- Multiset<Integer> elements = HashMultiset.create();
- MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create();
- int range = 10_000; // range should be small enough that equal elements occur semi-frequently
- for (int iter = 0; iter < reduceIterationsIfGwt(1000); iter++) {
- for (int i = 0; i < 100; i++) {
- Integer element = random.nextInt(range);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
- assertEquals(1, multimap.get(0).size());
- assertTrue(multimap.get(0).contains(unhashables.e0()));
- }
- public void testUnhashableMixedValues() {
- SampleElements<UnhashableObject> unhashables = new Unhashables();
- Multimap<Integer, Object> multimap =
- ImmutableMultimap.<Integer, Object>of(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbException.java
- }
- }
- } else {
- int min = 0;
- int max = DOS_ERROR_CODES.length - 1;
- while( max >= min ) {
- int mid = (min + max) / 2;
- if( errcode > DOS_ERROR_CODES[mid][0] ) {
- min = mid + 1;
- } else if( errcode < DOS_ERROR_CODES[mid][0] ) {
- max = mid - 1;
- } else {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
- dst[ dstIndex++ ] = (byte) '\0';
- }
- System.arraycopy(Strings.getUNIBytes(str), 0, dst, dstIndex, str.length() * 2);
- dstIndex += str.length() * 2;
- dst[ dstIndex++ ] = (byte) '\0';
- dst[ dstIndex++ ] = (byte) '\0';
- }
- else {
- byte[] b = Strings.getOEMBytes(str, this.getConfig());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 09:45:59 UTC 2018 - 32.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
- if ( have != 0 ) {
- NdrBuffer hdrBuf = new NdrBuffer(inB, 0);
- setupReceivedFragment(hdrBuf);
- hdrBuf.setIndex(0);
- msg.decode_header(hdrBuf);
- }
- NdrBuffer msgBuf;
- if ( have != 0 && !msg.isFlagSet(DCERPC_LAST_FRAG) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jun 30 10:11:57 UTC 2019 - 12.9K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 41.2K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LongMath.java
- * Returns the greatest common divisor of {@code a, b}. Returns {@code 0} if {@code a == 0 && b ==
- * 0}.
- *
- * @throws IllegalArgumentException if {@code a < 0} or {@code b < 0}
- */
- public static long gcd(long a, long b) {
- /*
- * The reason we require both arguments to be >= 0 is because otherwise, what do you return on
- * gcd(0, Long.MIN_VALUE)? BigInteger.gcd would return positive 2^63, but positive 2^63 isn't an
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 09 16:39:37 UTC 2024 - 45.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
- public long skip(long n) {
- return 0;
- }
- };
- }
- })
- .iterator());
- assertEquals(0, multi.skip(-1));
- assertEquals(0, multi.skip(-1));
- assertEquals(0, multi.skip(0));
- ByteStreams.skipFully(multi, 20);
- assertEquals(20, multi.read());
- }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.6K bytes - Viewed (0) -
cmd/bootstrap-peer-server_gen_test.go
- v := ServerSystemConfig{}
- b.ReportAllocs()
- b.ResetTimer()
- for i := 0; i < b.N; i++ {
- v.MarshalMsg(nil)
- }
- }
- func BenchmarkAppendMsgServerSystemConfig(b *testing.B) {
- v := ServerSystemConfig{}
- bts := make([]byte, 0, v.Msgsize())
- bts, _ = v.MarshalMsg(bts[0:0])
- b.SetBytes(int64(len(bts)))
- b.ReportAllocs()
- b.ResetTimer()
- for i := 0; i < b.N; i++ {
- bts, _ = v.MarshalMsg(bts[0:0])
- }
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 24 21:36:44 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/bucket-metadata_gen_test.go
- v := BucketMetadata{}
- b.ReportAllocs()
- b.ResetTimer()
- for i := 0; i < b.N; i++ {
- v.MarshalMsg(nil)
- }
- }
- func BenchmarkAppendMsgBucketMetadata(b *testing.B) {
- v := BucketMetadata{}
- bts := make([]byte, 0, v.Msgsize())
- bts, _ = v.MarshalMsg(bts[0:0])
- b.SetBytes(int64(len(bts)))
- b.ReportAllocs()
- b.ResetTimer()
- for i := 0; i < b.N; i++ {
- bts, _ = v.MarshalMsg(bts[0:0])
- }
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.3K bytes - Viewed (0)