Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 218 for maxsize (0.44 sec)

  1. src/cmd/go/internal/cache/cache.go

    	}
    	if entry[0] != 'v' || entry[1] != '1' || entry[2] != ' ' || entry[3+hexSize] != ' ' || entry[3+hexSize+1+hexSize] != ' ' || entry[3+hexSize+1+hexSize+1+20] != ' ' || entry[entrySize-1] != '\n' {
    		return missing(errors.New("invalid header"))
    	}
    	eid, entry := entry[3:3+hexSize], entry[3+hexSize:]
    	eout, entry := entry[1:1+hexSize], entry[1+hexSize:]
    	esize, entry := entry[1:1+20], entry[1+20:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. src/net/http/sniff.go

    	// c.f. section 6.2.1
    	if len(data) < 12 {
    		return ""
    	}
    	boxSize := int(binary.BigEndian.Uint32(data[:4]))
    	if len(data) < boxSize || boxSize%4 != 0 {
    		return ""
    	}
    	if !bytes.Equal(data[4:8], mp4ftype) {
    		return ""
    	}
    	for st := 8; st < boxSize; st += 4 {
    		if st == 12 {
    			// Ignores the four bytes that correspond to the version number of the "major brand".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 20 21:51:06 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    		// i.e. if it has a /24 the node mask must be between 24 and 32 for ipv4
    		if maskSize > nodeMask {
    			allErrs = append(allErrs, field.Invalid(fldPath, podSubnet.String(), fmt.Sprintf("the size of pod subnet with mask %d is smaller than the size of node subnet with mask %d", maskSize, nodeMask)))
    		} else if (nodeMask - maskSize) > constants.PodSubnetNodeMaskMaxDiff {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/internal/language/match.go

    		x := likelyRegionGroup[i]
    		if Language(x.lang) == t.LangID && Script(x.script) == t.ScriptID {
    			t.RegionID = Region(x.region)
    		}
    		return true
    	}
    	return false
    }
    
    // Maximize returns a new tag with missing tags filled in.
    func (t Tag) Maximize() (Tag, error) {
    	return addTags(t)
    }
    
    func addTags(t Tag) (Tag, error) {
    	// We leave private use identifiers alone.
    	if t.IsPrivateUse() {
    		return t, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. pkg/controller/nodeipam/node_ipam_controller.go

    		if len(clusterCIDRs) == 0 {
    			return nil, fmt.Errorf("Controller: Must specify --cluster-cidr if --allocate-node-cidrs is set")
    		}
    
    		for idx, cidr := range clusterCIDRs {
    			mask := cidr.Mask
    			if maskSize, _ := mask.Size(); maskSize > nodeCIDRMaskSizes[idx] {
    				return nil, fmt.Errorf("Controller: Invalid --cluster-cidr, mask size of cluster CIDR must be less than or equal to --node-cidr-mask-size configured for CIDR family")
    			}
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/go/internal/srcimporter/srcimporter_test.go

    	"os"
    	"path"
    	"path/filepath"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	build.Default.GOROOT = testenv.GOROOT(nil)
    	os.Exit(m.Run())
    }
    
    const maxTime = 2 * time.Second
    
    var importer = New(&build.Default, token.NewFileSet(), make(map[string]*types.Package))
    
    func doImport(t *testing.T, path, srcDir string) {
    	t0 := time.Now()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/image_format/internal_api.cc

    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/file_system_helper.h"
    #include "tensorflow/core/protobuf/saved_model.pb.h"
    #include "tensorflow/tools/proto_splitter/cc/max_size.h"
    // TODO(b/291933687), TODO(b/291001524)
    #if !defined(PLATFORM_WINDOWS) && !defined(__APPLE__)
    #include "tensorflow/tools/proto_splitter/cc/saved_model_splitter.h"
    #include "tensorflow/tools/proto_splitter/merge.h"
    #endif
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 30 21:50:27 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashSet.java

        Preconditions.checkArgument(expectedSize >= 0, "Expected size must be >= 0");
    
        // Save expectedSize for use in allocArrays()
        this.metadata = Ints.constrainToRange(expectedSize, 1, CompactHashing.MAX_SIZE);
      }
    
      /** Returns whether arrays need to be allocated. */
      boolean needsAllocArrays() {
        return table == null;
      }
    
      /** Handle lazy allocation of arrays. */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/SmallCharMatcher.java

     *
     * @author Christopher Swenson
     */
    @GwtIncompatible // no precomputation is done in GWT
    @ElementTypesAreNonnullByDefault
    final class SmallCharMatcher extends NamedFastMatcher {
      static final int MAX_SIZE = 1023;
      private final char[] table;
      private final boolean containsZero;
      private final long filter;
    
      private SmallCharMatcher(char[] table, long filter, boolean containsZero, String description) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/SmallCharMatcher.java

     *
     * @author Christopher Swenson
     */
    @GwtIncompatible // no precomputation is done in GWT
    @ElementTypesAreNonnullByDefault
    final class SmallCharMatcher extends NamedFastMatcher {
      static final int MAX_SIZE = 1023;
      private final char[] table;
      private final boolean containsZero;
      private final long filter;
    
      private SmallCharMatcher(char[] table, long filter, boolean containsZero, String description) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top