Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for maxNode (0.17 sec)

  1. src/compress/flate/huffman_code.go

    	// up to the next level
    	needed int32
    }
    
    // set sets the code and length of an hcode.
    func (h *hcode) set(code uint16, length uint16) {
    	h.len = length
    	h.code = code
    }
    
    func maxNode() literalNode { return literalNode{math.MaxUint16, math.MaxInt32} }
    
    func newHuffmanEncoder(size int) *huffmanEncoder {
    	return &huffmanEncoder{codes: make([]hcode, size)}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelMaps.java

                    )
                    .build()
            );
            MutableModelNode mapNode = modelNode.getLink(name);
            assert mapNode != null;
            return mapNode;
        }
    
        public static <T> ModelMap<T> toView(MutableModelNode mapNode, ModelType<T> elementModelType) {
            mapNode.ensureUsable();
            return mapNode.asMutable(
                    ModelTypes.modelMap(elementModelType),
                    RuleContext.get()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/PackageSanityTests.java

        setDefault(int.class, 32);
        setDefault(String.class, "abcd");
        setDefault(Method.class, AbstractPackageSanityTests.class.getDeclaredMethods()[0]);
        setDefault(MapMode.class, MapMode.READ_ONLY);
        setDefault(CharsetEncoder.class, Charsets.UTF_8.newEncoder());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  4. src/compress/lzw/writer.go

    type writer interface {
    	io.ByteWriter
    	Flush() error
    }
    
    const (
    	// A code is a 12 bit value, stored as a uint32 when encoding to avoid
    	// type conversions when shifting bits.
    	maxCode     = 1<<12 - 1
    	invalidCode = 1<<32 - 1
    	// There are 1<<12 possible codes, which is an upper bound on the number of
    	// valid hash table entries at any given point in time. tableSize is 4x that.
    	tableSize = 4 * 1 << 12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. src/image/jpeg/huffman.go

    				}
    				code++
    				x++
    			}
    		}
    
    		// Derive minCodes, maxCodes, and valsIndices.
    		var c, index int32
    		for i, n := range nCodes {
    			if n == 0 {
    				h.minCodes[i] = -1
    				h.maxCodes[i] = -1
    				h.valsIndices[i] = -1
    			} else {
    				h.minCodes[i] = c
    				h.maxCodes[i] = c + n - 1
    				h.valsIndices[i] = index
    				c += n
    				index += n
    			}
    			c <<= 1
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Files.java

       * @see FileChannel#map(MapMode, long, long)
       * @since 2.0
       */
      public static MappedByteBuffer map(File file, MapMode mode) throws IOException {
        return mapInternal(file, mode, -1);
      }
    
      /**
       * Maps a file in to memory as per {@link FileChannel#map(java.nio.channels.FileChannel.MapMode,
       * long, long)} using the requested {@link MapMode}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/PackageSanityTests.java

        setDefault(int.class, 32);
        setDefault(String.class, "abcd");
        setDefault(Method.class, AbstractPackageSanityTests.class.getDeclaredMethods()[0]);
        setDefault(MapMode.class, MapMode.READ_ONLY);
        setDefault(CharsetEncoder.class, Charsets.UTF_8.newEncoder());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.3K bytes
    - Viewed (0)
  8. cmd/kubemark/app/hollow_node.go

    	RegisterWithTaints      []v1.Taint
    	MaxPods                 int
    	ExtendedResources       map[string]string
    	UseHostImageService     bool
    
    	// Deprecated config; remove these with the corresponding flags
    	UseRealProxier       bool
    	ProxierSyncPeriod    time.Duration
    	ProxierMinSyncPeriod time.Duration
    }
    
    const (
    	maxPods     = 110
    	podsPerCore = 0
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Files.java

       * @see FileChannel#map(MapMode, long, long)
       * @since 2.0
       */
      public static MappedByteBuffer map(File file, MapMode mode) throws IOException {
        return mapInternal(file, mode, -1);
      }
    
      /**
       * Maps a file in to memory as per {@link FileChannel#map(java.nio.channels.FileChannel.MapMode,
       * long, long)} using the requested {@link MapMode}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. pkg/kubelet/userns/userns_manager_test.go

    		{
    			name:           "range can't fit maxPods",
    			mappingFirstID: 65536,
    			mappingLen:     65536,
    			maxPods:        2,
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			testUserNsPodsManager := &testUserNsPodsManager{
    				podDir:         t.TempDir(),
    				mappingFirstID: tc.mappingFirstID,
    				mappingLen:     tc.mappingLen,
    				maxPods:        tc.maxPods,
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top