Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for check_size (0.18 sec)

  1. src/cmd/compile/internal/types/size.go

    // is needed immediately.  CheckSize makes sure the
    // size is evaluated eventually.
    
    var deferredTypeStack []*Type
    
    func CheckSize(t *Type) {
    	if t == nil {
    		return
    	}
    
    	// function arg structs should not be checked
    	// outside of the enclosing function.
    	if t.IsFuncArgStruct() {
    		base.Fatalf("CheckSize %v", t)
    	}
    
    	if defercalc == 0 {
    		CalcSize(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        }
      }
    
      @Override
      public HashCode hashBytes(byte[] input, int off, int len) {
        checkPositionIndexes(off, off + len, input.length);
        int h1 = seed;
        int i;
        for (i = 0; i + CHUNK_SIZE <= len; i += CHUNK_SIZE) {
          int k1 = mixK1(getIntLittleEndian(input, off + i));
          h1 = mixH1(h1, k1);
        }
    
        int k1 = 0;
        for (int shift = 0; i < len; i++, shift += 8) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.jar

    ActiveCollection { public abstract String getRole(); public abstract boolean isEmpty(); public abstract boolean checkedIsEmpty() throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public abstract int size(); public abstract int checkedSize() throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; } org/codehaus/plexus/collections/AbstractActiveList.class package org.codehaus.plexus.collections; public abstract synchronized class AbstractActiveList implements...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 15.6K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.jar

    ActiveCollection { public abstract String getRole(); public abstract boolean isEmpty(); public abstract boolean checkedIsEmpty() throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public abstract int size(); public abstract int checkedSize() throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; } org/codehaus/plexus/collections/AbstractActiveList.class package org.codehaus.plexus.collections; public abstract synchronized class AbstractActiveList implements...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 15.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        }
      }
    
      @Override
      public HashCode hashBytes(byte[] input, int off, int len) {
        checkPositionIndexes(off, off + len, input.length);
        int h1 = seed;
        int i;
        for (i = 0; i + CHUNK_SIZE <= len; i += CHUNK_SIZE) {
          int k1 = mixK1(getIntLittleEndian(input, off + i));
          h1 = mixH1(h1, k1);
        }
    
        int k1 = 0;
        for (int shift = 0; i < len; i++, shift += 8) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/remote-repo-1/maven-test/jars/maven-test-b-1.0.jar

    void <clinit>(); } org/apache/commons/codec/binary/Base64.class package org.apache.commons.codec.binary; public synchronized class Base64 implements org.apache.commons.codec.BinaryEncoder, org.apache.commons.codec.BinaryDecoder { static final int CHUNK_SIZE = 76; static final byte[] CHUNK_SEPARATOR; static final int BASELENGTH = 255; static final int LOOKUPLENGTH = 64; static final int TWENTYFOURBITGROUP = 24; static final int EIGHTBIT = 8; static final int SIXTEENBIT = 16; static final int SIXBIT...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Aug 09 19:02:31 UTC 2004
    - 18.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/expr.go

    	base.Errorf("cannot use promoted field %v in struct literal of type %v", strings.Join(ep, "."), typ)
    	return nil
    }
    
    // tcConv typechecks an OCONV node.
    func tcConv(n *ir.ConvExpr) ir.Node {
    	types.CheckSize(n.Type()) // ensure width is calculated for backend
    	n.X = Expr(n.X)
    	n.X = convlit1(n.X, n.Type(), true, nil)
    	t := n.X.Type()
    	if t == nil || n.Type() == nil {
    		n.SetType(nil)
    		return n
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testshared/shared_test.go

    	// It is 19K on linux/amd64, with separate-code in binutils ld and 64k being most common alignment
    	// 4*64k should be enough, but this might need revision eventually.
    	checkSize(t, "./trivial.pie", 256000)
    }
    
    // Check that the file size does not exceed a limit.
    func checkSize(t *testing.T, f string, limit int64) {
    	fi, err := os.Stat(f)
    	if err != nil {
    		t.Fatalf("stat failed: %v", err)
    	}
    	if sz := fi.Size(); sz > limit {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/func.go

    		n.SetType(l.Type())
    		return tcConv(n)
    	}
    
    	RewriteNonNameCall(n)
    	typecheckargs(n)
    	t := l.Type()
    	if t == nil {
    		n.SetType(nil)
    		return n
    	}
    	types.CheckSize(t)
    
    	switch l.Op() {
    	case ir.ODOTINTER:
    		n.SetOp(ir.OCALLINTER)
    
    	case ir.ODOTMETH:
    		l := l.(*ir.SelectorExpr)
    		n.SetOp(ir.OCALLMETH)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/expr.go

    	// Eagerly compute sizes of all expressions for the back end.
    	if typ := n.Type(); typ != nil && typ.Kind() != types.TBLANK && !typ.IsFuncArgStruct() {
    		types.CheckSize(typ)
    	}
    	if n, ok := n.(*ir.Name); ok && n.Heapaddr != nil {
    		types.CheckSize(n.Heapaddr.Type())
    	}
    	if ir.IsConst(n, constant.String) {
    		// Emit string symbol now to avoid emitting
    		// any concurrently during the backend.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top