Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 2,614 for ksize (0.02 seconds)

  1. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

        } else {
          Set<N> neighbors = adjacentNodes(node);
          int selfLoopCount = (allowsSelfLoops() && neighbors.contains(node)) ? 1 : 0;
          return IntMath.saturatedAdd(neighbors.size(), selfLoopCount);
        }
      }
    
      @Override
      public int inDegree(N node) {
        return isDirected() ? predecessors(node).size() : degree(node);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/BufferCache.java

         * @throws IllegalStateException if buffer size exceeds maximum allowed
         */
        static public byte[] getBuffer() {
            // Try to get from cache first - O(1) operation
            byte[] buf = bufferQueue.poll();
            if (buf != null) {
                queueSize.decrementAndGet();
                return buf;
            }
    
            // Validate buffer size to prevent overflow
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

            Map<Element, Element> map = new ConcurrentHashMap<>(keys.size(), 0.75f, 1);
            for (Element element : keys) {
              map.put(element, element);
            }
            return map;
          }
        },
        ConcurrentHM16 {
          @Override
          Map<Element, Element> create(Collection<Element> keys) {
            Map<Element, Element> map = new ConcurrentHashMap<>(keys.size(), 0.75f, 16);
            for (Element element : keys) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

    import com.google.common.util.concurrent.UncheckedExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * {@link LoadingCache} tests for caches with a maximum size of zero.
     *
     * @author mike nonemacher
     */
    @NullUnmarked
    public class NullCacheTest extends TestCase {
      QueuingRemovalListener<Object, Object> listener;
    
      @Override
      protected void setUp() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/Configuration.java

        /**
         * Gets the maximum buffer size for IO operations
         *
         * @return the maximum size of IO buffers, limits the maximum message size
         */
        int getMaximumBufferSize();
    
        /**
         *
         * Property {@code jcifs.smb.client.transaction_buf_size} (int, default 65535)
         *
         * @return maximum data size for SMB transactions
         */
        int getTransactionBufferSize();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        int index = elementSet.indexOf(element);
        return (index >= 0) ? getCount(index) : 0;
      }
    
      @Override
      public int size() {
        long size = cumulativeCounts[offset + length] - cumulativeCounts[offset];
        return Ints.saturatedCast(size);
      }
    
      @Override
      public ImmutableSortedSet<E> elementSet() {
        return elementSet;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/collection/LruHashSet.java

        }
    
        /**
         * Returns the number of elements in this set (its cardinality).
         *
         * @return the number of elements in this set (its cardinality).
         */
        @Override
        public int size() {
            return map.size();
        }
    
        /**
         * Returns true if this set contains no elements.
         *
         * @return true if this set contains no elements.
         */
        @Override
        public boolean isEmpty() {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

            if (repositories.size() != set.size()) {
                throw new IllegalArgumentException(
                        "Repository list contains duplicate entries. Each repository must be unique based on its ID and URL. "
                                + "Found " + repositories.size() + " repositories but only " + set.size()
                                + " unique entries.");
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. tests/migrate_test.go

    			Name string `gorm:"size:10"`
    		}
    		UniqueStruct2 struct {
    			Name string `gorm:"size:20"`
    		}
    	)
    	checkField(&UniqueStruct1{}, "name", false, "")
    	checkField(&UniqueStruct2{}, "name", false, "")
    
    	type ( // unique
    		UniqueStruct3 struct {
    			Name string `gorm:"size:30;unique"`
    		}
    		UniqueStruct4 struct {
    			Name string `gorm:"size:40;unique"`
    		}
    	)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/elevateword/CreateForm.java

        @CustomSize(maxKey = "form.admin.max.input.size")
        public String permissions;
    
        /** The boost score multiplier applied to elevated documents */
        @Required
        @ValidateTypeFailure
        public Float boost;
    
        /** The username of who created this elevate word entry */
        @Size(max = 1000)
        public String createdBy;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top