Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 167 for insta (0.22 sec)

  1. src/go/types/named_test.go

    	}
    
    	Inst := Unalias(pkg.Scope().Lookup("Inst").Type()).(*Pointer).Elem().(*Named)
    	Node := firstFieldType(Inst)
    	Tree := firstFieldType(Node)
    	if !Identical(Inst, Tree) {
    		t.Fatalf("Not a cycle: got %v, want %v", Tree, Inst)
    	}
    	if Inst != Tree {
    		t.Errorf("Duplicate instances in cycle: %s (%p) -> %s (%p) -> %s (%p)", Inst, Inst, Node, Node, Tree, Tree)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 16:29:58 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/regexp/syntax/compile.go

    		}
    		return f
    	}
    	panic("regexp: unhandled case in compile")
    }
    
    func (c *compiler) inst(op InstOp) frag {
    	// TODO: impose length limit
    	f := frag{i: uint32(len(c.p.Inst)), nullable: true}
    	c.p.Inst = append(c.p.Inst, Inst{Op: op})
    	return f
    }
    
    func (c *compiler) nop() frag {
    	f := c.inst(InstNop)
    	f.out = makePatchList(f.i << 1)
    	return f
    }
    
    func (c *compiler) fail() frag {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 13 14:52:20 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/arch/x86/x86asm/decode.go

    	if inst.Op == XCHG && inst.Opcode>>24 == 0x90 {
    		if inst.Args[0] == RAX || inst.Args[0] == EAX || inst.Args[0] == AX {
    			inst.Op = NOP
    			if dataSizeIndex >= 0 {
    				inst.Prefix[dataSizeIndex] &^= PrefixImplicit
    			}
    			inst.Args[0] = nil
    			inst.Args[1] = nil
    		}
    		if repIndex >= 0 && inst.Prefix[repIndex] == 0xF3 {
    			inst.Prefix[repIndex] |= PrefixImplicit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/arm/armasm/gnu.go

    func GNUSyntax(inst Inst) string {
    	var buf bytes.Buffer
    	op := inst.Op.String()
    	op = saveDot.Replace(op)
    	op = strings.Replace(op, ".", "", -1)
    	op = strings.Replace(op, "_dot_", ".", -1)
    	op = strings.ToLower(op)
    	buf.WriteString(op)
    	sep := " "
    	for i, arg := range inst.Args {
    		if arg == nil {
    			break
    		}
    		text := gnuArg(&inst, i, arg)
    		if text == "" {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 14 17:21:52 UTC 2016
    - 3.5K bytes
    - Viewed (0)
  5. pilot/pkg/server/instance_test.go

    			stop := newReclosableChannel()
    			t.Cleanup(stop.Close)
    			inst := server.New()
    			g.Expect(inst.Start(stop.c)).To(BeNil())
    
    			component := c.c.Run
    			go func() {
    				if c.async {
    					if c.wait {
    						inst.RunComponentAsyncAndWait("test", component)
    					} else {
    						inst.RunComponentAsync("test", component)
    					}
    				} else {
    					inst.RunComponent("test", component)
    				}
    			}()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 23:02:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/regexp/backtrack.go

    			case syntax.InstRune, syntax.InstRune1, syntax.InstRuneAny, syntax.InstRuneAnyNotNL:
    				// inst.Arg is the match.
    				b.push(re, inst.Arg, pos, false)
    				pc = inst.Arg
    				pos = b.end
    				goto CheckAndLoop
    			}
    			// inst.Out is the match - non-greedy
    			b.push(re, inst.Out, b.end, false)
    			pc = inst.Out
    			goto CheckAndLoop
    
    		case syntax.InstRune:
    			r, width := i.step(pos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 17:25:39 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  7. src/cmd/internal/objfile/disasm.go

    	inst, err := x86asm.Decode(code, arch)
    	var text string
    	size := inst.Len
    	if err != nil || size == 0 || inst.Op == 0 {
    		size = 1
    		text = "?"
    	} else {
    		if gnuAsm {
    			text = fmt.Sprintf("%-36s // %s", x86asm.GoSyntax(inst, pc, lookup), x86asm.GNUSyntax(inst, pc, nil))
    		} else {
    			text = x86asm.GoSyntax(inst, pc, lookup)
    		}
    	}
    	return text, size
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  8. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/GradleWorkerMain.java

        public void run() throws Exception {
            DataInputStream instr = new DataInputStream(new EncodedStream.EncodedInput(System.in));
    
            // Read shared packages
            int sharedPackagesCount = instr.readInt();
            List<String> sharedPackages = new ArrayList<String>(sharedPackagesCount);
            for (int i = 0; i < sharedPackagesCount; i++) {
                sharedPackages.add(instr.readUTF());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/context_test.go

    	}
    
    	ctxt := NewContext()
    
    	// Update the context with an instantiation of nullaryP.
    	inst := NewSignatureType(nil, nil, nil, nil, nil, false)
    	if got := ctxt.update("", nullaryP, []Type{Typ[Int]}, inst); got != inst {
    		t.Error("bad")
    	}
    
    	// unaryP is not identical to nullaryP, so we should not get inst when
    	// instantiated with identical type arguments.
    	if got := ctxt.lookup("", unaryP, []Type{Typ[Int]}); got != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 17 04:32:02 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. test/interface/pointer.go

    // Does not compile.
    
    package main
    
    type Inst interface {
    	Next() *Inst
    }
    
    type Regexp struct {
    	code  []Inst
    	start Inst
    }
    
    type Start struct {
    	foo *Inst
    }
    
    func (start *Start) Next() *Inst { return nil }
    
    func AddInst(Inst) *Inst {
    	print("ok in addinst\n")
    	return nil
    }
    
    func main() {
    	print("call addinst\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 28 14:28:33 UTC 2023
    - 758 bytes
    - Viewed (0)
Back to top