Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for insts (0.54 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    				}
    				if !Identical(inst.Inst.Type, inst2) {
    					t.Errorf("%v and %v are not identical", inst.Inst.Type, inst2)
    				}
    			}
    		})
    	}
    }
    
    type recordedInstance struct {
    	Name *syntax.Name
    	Inst Instance
    }
    
    func sortedInstances(m map[*syntax.Name]Instance) (instances []recordedInstance) {
    	for id, inst := range m {
    		instances = append(instances, recordedInstance{id, inst})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    				}
    				if !Identical(inst.Inst.Type, inst2) {
    					t.Errorf("%v and %v are not identical", inst.Inst.Type, inst2)
    				}
    			}
    		})
    	}
    }
    
    type recordedInstance struct {
    	Ident *ast.Ident
    	Inst  Instance
    }
    
    func sortedInstances(m map[*ast.Ident]Instance) (instances []recordedInstance) {
    	for id, inst := range m {
    		instances = append(instances, recordedInstance{id, inst})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  3. src/regexp/syntax/parse.go

    const maxHeight = 1000
    
    // maxSize is the maximum size of a compiled regexp in Insts.
    // It too is somewhat arbitrarily chosen, but the idea is to be large enough
    // to allow significant regexps while at the same time small enough that
    // the compiled form will not take up too much memory.
    // 128 MB is enough for a 3.3 million Inst structures, which roughly
    // corresponds to a 3.3 MB regexp.
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/riscv/obj.go

    			// LUI top20bits(c), R
    			// ADD bottom12bits(c), R, R
    			insLUI := &instruction{as: ALUI, rd: ins.rd, imm: high}
    			inss = []*instruction{insLUI}
    			if low != 0 {
    				ins.as, ins.rs1 = AADDIW, ins.rd
    				inss = append(inss, ins)
    			}
    		}
    		if insSLLI != nil {
    			inss = append(inss, insSLLI)
    		}
    
    	case p.From.Type == obj.TYPE_CONST && p.To.Type != obj.TYPE_REG:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    		} else {
    			n.Type = conv.Type(types[i], pos)
    			switch n.Kind {
    			case "iconst":
    				if i < len(ints) {
    					if _, ok := types[i].(*dwarf.UintType); ok {
    						n.Const = fmt.Sprintf("%#x", uint64(ints[i]))
    					} else {
    						n.Const = fmt.Sprintf("%#x", ints[i])
    					}
    				}
    			case "fconst":
    				if i >= len(floats) {
    					break
    				}
    				switch base(types[i]).(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(3, (int) enumer.nextElement());
        assertFalse(enumer.hasMoreElements());
      }
    
      private static Enumeration<Integer> enumerate(int... ints) {
        Vector<Integer> vector = new Vector<>(Ints.asList(ints));
        return vector.elements();
      }
    
      public void testToString() {
        Iterator<String> iterator = Lists.newArrayList("yam", "bam", "jam", "ham").iterator();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/load.go

    		if err := ld.AllowPackage(ctx, pkg.path, pkg.mod); err != nil {
    			pkg.err = err
    		}
    	}
    
    	pkg.inStd = (search.IsStandardImportPath(pkg.path) && search.InDir(pkg.dir, cfg.GOROOTsrc) != "")
    
    	var imports, testImports []string
    
    	if cfg.BuildContext.Compiler == "gccgo" && pkg.inStd {
    		// We can't scan standard packages for gccgo.
    	} else {
    		var err error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/MapMakerInternalMap.java

       * constructors with arguments. MUST be a power of two no greater than {@code 1<<30} to ensure
       * that entries are indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
      static final int MAX_SEGMENTS = 1 << 16; // slightly conservative
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * constructors with arguments. MUST be a power of two no greater than {@code 1<<30} to ensure
       * that entries are indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
      static final int MAX_SEGMENTS = 1 << 16; // slightly conservative
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  10. src/runtime/mbitmap.go

    		for ; nbits >= 8; nbits -= 8 {
    			*dst = uint8(bits)
    			dst = add1(dst)
    			bits >>= 8
    		}
    
    		// Process one instruction.
    		inst := uintptr(*p)
    		p = add1(p)
    		n := inst & 0x7F
    		if inst&0x80 == 0 {
    			// Literal bits; n == 0 means end of program.
    			if n == 0 {
    				// Program is over.
    				break Run
    			}
    			nbyte := n / 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
Back to top