Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for lookupMap (0.33 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/connections.go

    			for _, c := range wl.Connections.Inbound {
    				fmt.Fprintf(w, "%v\tInbound\t%v\t%v\t%v\n", name, lookupIP(c.ActualDst), lookupIP(c.Src), c.OriginalDst)
    			}
    		}
    		if filter.Direction != "inbound" {
    			for _, c := range wl.Connections.Outbound {
    				fmt.Fprintf(w, "%v\tOutbound\t%v\t%v\t%v\n", name, lookupIP(c.Src), lookupIP(c.ActualDst), lookupIP(c.OriginalDst))
    			}
    		}
    	}
    	return w.Flush()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirTypeParameterType.kt

        override val token: KaLifetimeToken get() = builder.token
        override val name: Name get() = withValidityAssertion { coneType.lookupTag.name }
        override val symbol: KaTypeParameterSymbol by cached {
            builder.classifierBuilder.buildTypeParameterSymbolByLookupTag(coneType.lookupTag)
                ?: errorWithFirSpecificEntries("Type parameter was not found", coneType = coneType)
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/internal/nettrace/nettrace.go

    // LookupIPAltResolverKey is a context.Context Value key used by tests to
    // specify an alternate resolver func.
    // It is not exposed to outsider users. (But see issue 12503)
    // The value should be the same type as lookupIP:
    //
    //	func lookupIP(ctx context.Context, host string) ([]IPAddr, error)
    type LookupIPAltResolverKey struct{}
    
    // Trace contains a set of hooks for tracing events within
    // the net package. Any specific hook may be nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:57:14 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

        TFE_DeleteTensorHandle(lookup_fn_outputs[0]);
        TFE_DeleteOp(lookup_op);
      }
    
      // Call lookup function with input "baz", expecting an output of 2
      {
        std::vector<TFE_TensorHandle*> lookup_fn_inputs;
        TFE_TensorHandle* input_foo = TestScalarTensorHandle(ctx, tstring("baz"));
        lookup_fn_inputs.push_back(input_foo);
    
        TFE_Op* lookup_op = TF_ConcreteFunctionMakeCallOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeCreator.kt

        override val analysisSession: KaFirSession,
        override val token: KaLifetimeToken
    ) : KaTypeCreator(), KaFirSessionComponent {
    
        override fun buildClassType(builder: KaClassTypeBuilder): KaType {
            val lookupTag = when (builder) {
                is KaClassTypeBuilder.ByClassId -> {
                    val classSymbol = rootModuleSession.symbolProvider.getClassLikeSymbolByClassId(builder.classId)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirUsualClassType.kt

        override val token: KaLifetimeToken get() = builder.token
    
        override val classId: ClassId get() = withValidityAssertion { coneType.lookupTag.classId }
    
        override val symbol: KaClassLikeSymbol
            get() = withValidityAssertion {
                builder.classifierBuilder.buildClassLikeSymbolByLookupTag(coneType.lookupTag)
                    ?: errorWithFirSpecificEntries("Class was not found", coneType = coneType)
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirFunctionalType.kt

        override val token: KaLifetimeToken get() = builder.token
    
        override val classId: ClassId get() = withValidityAssertion { coneType.lookupTag.classId }
    
        override val symbol: KaClassLikeSymbol by cached {
            builder.classifierBuilder.buildClassLikeSymbolByLookupTag(coneType.lookupTag)
                ?: errorWithFirSpecificEntries("Class was not found", coneType = coneType)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/net/lookup_test.go

    			}
    		}()
    	}
    	wg.Wait()
    }
    
    // Issue 53995: Resolver.LookupIP should return error for empty host name.
    func TestResolverLookupIPWithEmptyHost(t *testing.T) {
    	_, err := DefaultResolver.LookupIP(context.Background(), "ip", "")
    	if err == nil {
    		t.Fatal("DefaultResolver.LookupIP for empty host success, want no host error")
    	}
    	if !strings.HasSuffix(err.Error(), errNoSuchHost.Error()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

                    KaFirTypeParameterSymbol(firSymbol, analysisSession)
                }
            }
    
            fun buildTypeParameterSymbolByLookupTag(lookupTag: ConeTypeParameterLookupTag): KaTypeParameterSymbol? {
                val firTypeParameterSymbol = firProvider.getSymbolByLookupTag(lookupTag) as? FirTypeParameterSymbol ?: return null
                return buildTypeParameterSymbol(firTypeParameterSymbol)
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. src/net/lookup.go

    	}
    	if _, err := netip.ParseAddr(host); err == nil {
    		return []string{host}, nil
    	}
    	return r.lookupHost(ctx, host)
    }
    
    // LookupIP looks up host using the local resolver.
    // It returns a slice of that host's IPv4 and IPv6 addresses.
    func LookupIP(host string) ([]IP, error) {
    	addrs, err := DefaultResolver.LookupIPAddr(context.Background(), host)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 28.6K bytes
    - Viewed (0)
Back to top