Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for LookUp (0.15 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	// We should now see the waypoint service IP
    	assert.Equal(t,
    		s.lookup(s.addrXdsName("127.0.0.3"))[0].Address.GetWorkload().Waypoint.GetAddress().Address,
    		netip.MustParseAddr("10.0.0.2").AsSlice())
    
    	assert.Equal(t,
    		s.lookup(s.addrXdsName("127.0.0.4"))[0].Address.GetWorkload().Waypoint.GetAddress().Address,
    		netip.MustParseAddr("10.0.0.3").AsSlice())
    
    	// Lookup for service VIP should return Workload and Service AddressInfo objects
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    		{"concreteMethod", lookup("t").(*Named).Method(0)},
    		{"recv", lookup("t").(*Named).Method(0).Signature().Recv()},
    		{"mParam", lookup("t").(*Named).Method(0).Signature().Params().At(0)},
    		{"mResult", lookup("t").(*Named).Method(0).Signature().Results().At(0)},
    
    		// Interface methods
    		{"interfaceMethod", lookup("i").Underlying().(*Interface).Method(0)},
    
    		// Function type fields
    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/cmd/compile/internal/types2/api_test.go

    	lookup := func(tname string) Type { return pkg.Scope().Lookup(tname).Type() }
    	var (
    		EmptyIface   = lookup("EmptyIface").Underlying().(*Interface)
    		I            = lookup("I").(*Named)
    		II           = I.Underlying().(*Interface)
    		C            = lookup("C").(*Named)
    		CI           = C.Underlying().(*Interface)
    		Integer      = lookup("Integer").Underlying().(*Interface)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/net/dnsclient_unix_test.go

    				Questions: []dnsmessage.Question{q.Questions[0]},
    				Answers:   answers,
    			}, nil
    		},
    	}
    
    	r := Resolver{PreferGo: true, Dial: fake.DialContext}
    	ins := []string{lookup, absDomainName(lookup), strings.ToLower(lookup), strings.ToUpper(lookup)}
    	for _, in := range ins {
    		_, res, err := r.goLookupIPCNAMEOrder(context.Background(), "ip", in, mode, nil)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

        int num_branches() { return getBranches().size(); }
    
        // Gets function corresponding branch # `index`.
        // Prefer passing in SymbolTableCollection to reduce lookup costs by
        // enabling reusing cached symbol table lookup.
        func::FuncOp ResolveBranchFunction(::mlir::SymbolTableCollection* table, int index) {
          auto flat_sym_ref = getBranches()[index].cast<FlatSymbolRefAttr>();
          if (table)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/elf.go

    		sh.Flags = uint64(elf.SHF_ALLOC)
    		sh.Addralign = 1
    		shsym(sh, ldr, ldr.Lookup(".dynstr", 0))
    
    		if elfverneed != 0 {
    			sh := elfshname(".gnu.version")
    			sh.Type = uint32(elf.SHT_GNU_VERSYM)
    			sh.Flags = uint64(elf.SHF_ALLOC)
    			sh.Addralign = 2
    			sh.Link = uint32(elfshname(".dynsym").shnum)
    			sh.Entsize = 2
    			shsym(sh, ldr, ldr.Lookup(".gnu.version", 0))
    
    			sh = elfshname(".gnu.version_r")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      module.walk([&](mlir::TFL::WhileOp while_op) {
        auto cond = symbol_table.lookup<mlir::func::FuncOp>(
            while_op->getAttr("cond").cast<mlir::FlatSymbolRefAttr>().getValue());
        AddCallOpInWhileOpRegion(while_op.getCond(), cond);
        while_op->removeAttr("cond");
        auto body = symbol_table.lookup<mlir::func::FuncOp>(
            while_op->getAttr("body").cast<mlir::FlatSymbolRefAttr>().getValue());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  8. src/runtime/pprof/pprof_test.go

    	runtime.SetBlockProfileRate(1)
    	defer runtime.SetBlockProfileRate(0)
    	for _, test := range tests {
    		test.f(t)
    	}
    
    	t.Run("debug=1", func(t *testing.T) {
    		var w strings.Builder
    		Lookup("block").WriteTo(&w, 1)
    		prof := w.String()
    
    		if !strings.HasPrefix(prof, "--- contention:\ncycles/second=") {
    			t.Fatalf("Bad profile header:\n%v", prof)
    		}
    
    		if strings.HasSuffix(prof, "#\t0x0\n\n") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  9. src/time/time.go

    			sec += int64(l.cacheZone.offset)
    		} else {
    			_, offset, _, _, _ := l.lookup(sec)
    			sec += int64(offset)
    		}
    	}
    	return uint64(sec + (unixToInternal + internalToAbsolute))
    }
    
    // locabs is a combination of the Zone and abs methods,
    // extracting both return values from a single zone lookup.
    func (t Time) locabs() (name string, offset int, abs uint64) {
    	l := t.loc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/debug.go

    	splitOffset int64
    }
    
    // lookup looks up a LocalSlot in the slot canonicalizer "sc", returning
    // a canonical index for the slot, and adding it to the table if need
    // be. Return value is the canonical slot index, and a boolean indicating
    // whether the slot was found in the table already (TRUE => found).
    func (sc *slotCanonicalizer) lookup(ls LocalSlot) (SlKeyIdx, bool) {
    	split := noSlot
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
Back to top