Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1221 - 1230 of 2,614 for ksize (0.02 seconds)

  1. guava/src/com/google/common/collect/AbstractMultiset.java

     * Multiset#entrySet()} method, plus optionally overriding {@link #add(Object, int)} and {@link
     * #remove(Object, int)} to enable modifications to the multiset.
     *
     * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by
     * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link
     * #elementSet()}. Override those methods for better performance.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

                properties.put("prerequisites.maven", prerequisites.getMaven());
            }
    
            List<License> licenses = model.getLicenses();
            properties.put("license.count", licenses.size());
            for (int i = 0; i < licenses.size(); i++) {
                License license = licenses.get(i);
                properties.put("license." + i + ".name", license.getName());
                properties.put("license." + i + ".url", license.getUrl());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ForwardingMultimap.java

      @Override
      public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return delegate().replaceValues(key, values);
      }
    
      @Override
      public int size() {
        return delegate().size();
      }
    
      @Override
      public Collection<V> values() {
        return delegate().values();
      }
    
      @Override
      // A forwarding implementation can't do any better than the underlying object.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ForwardingMultimap.java

      @Override
      public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return delegate().replaceValues(key, values);
      }
    
      @Override
      public int size() {
        return delegate().size();
      }
    
      @Override
      public Collection<V> values() {
        return delegate().values();
      }
    
      @Override
      // A forwarding implementation can't do any better than the underlying object.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

            SMBUtil.writeInt4(this.lengthInBytes, dst, dstIndex + 6);
            return 10;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size() {
            return this.largeFile ? 20 : 10;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

            bufferIndex += nsalt;
    
            return bufferIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size() {
            return 4 + (this.hashAlgos != null ? 2 * this.hashAlgos.length : 0) + (this.salt != null ? this.salt.length : 0);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            assertEquals(8192, receiveBufferSize, "Should delegate receive buffer size");
            assertEquals(65536, maximumBufferSize, "Should delegate maximum buffer size");
            assertEquals(65024, transactionBufferSize, "Should delegate transaction buffer size");
            assertEquals(16, bufferCacheSize, "Should delegate buffer cache size");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  8. src/bytes/buffer_test.go

    	var buf Buffer
    	n := 0
    	for r := rune(0); r < NRune; r++ {
    		size := utf8.EncodeRune(b[n:], r)
    		nbytes, err := buf.WriteRune(r)
    		if err != nil {
    			t.Fatalf("WriteRune(%U) error: %s", r, err)
    		}
    		if nbytes != size {
    			t.Fatalf("WriteRune(%U) expected %d, got %d", r, size, nbytes)
    		}
    		n += size
    	}
    	b = b[0:n]
    
    	// Check the resulting bytes
    	if !Equal(buf.Bytes(), b) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

        assertThat(source.readByte() and 0xff).isEqualTo(0xbf)
        assertThat(source.readUtf8()).isEqualTo("hello")
      }
    
      @Test
      fun bytesEmpty() {
        val body = body("")
        assertThat(body.bytes().size).isEqualTo(0)
      }
    
      @Test
      fun bytesSeesBom() {
        val body = body("efbbbf68656c6c6f")
        val bytes = body.bytes()
        assertThat(bytes[0] and 0xff).isEqualTo(0xef)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

            derivedFeatures.add(feature);
          }
        }
        // add the intersection of CollectionSize.values() and mapFeatures
        for (CollectionSize size : CollectionSize.values()) {
          if (mapFeatures.contains(size)) {
            derivedFeatures.add(size);
          }
        }
        return derivedFeatures;
      }
    
      private static final class ReserializedMapGenerator<K, V> implements TestMapGenerator<K, V> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top