Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 70 for netutils (0.14 sec)

  1. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/SubsetScriptTransformer.java

            AstUtils.filterAndTransformStatements(source, transformer);
    
            // Filter imported classes which are not available yet
    
            Iterator<ImportNode> iter = source.getAST().getImports().iterator();
            while (iter.hasNext()) {
                ImportNode importedClass = iter.next();
                if (!AstUtils.isVisible(source, importedClass.getClassName())) {
                    try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 08 12:24:19 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  2. cni/pkg/install/kubeconfig_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package install
    
    import (
    	"os"
    	"path/filepath"
    	"testing"
    
    	"istio.io/istio/cni/pkg/config"
    	testutils "istio.io/istio/pilot/test/util"
    )
    
    const (
    	k8sServiceHost = "10.96.0.1"
    	k8sServicePort = "443"
    	kubeCAFilepath = "testdata/kube-ca.crt"
    	saToken        = "service_account_token_string"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. tools/istio-clean-iptables/pkg/config/config.go

    // limitations under the License.
    
    package config
    
    import (
    	"encoding/json"
    	"fmt"
    	"os/user"
    
    	"github.com/miekg/dns"
    
    	"istio.io/istio/pkg/env"
    	"istio.io/istio/pkg/log"
    	netutil "istio.io/istio/pkg/util/net"
    	types "istio.io/istio/tools/istio-iptables/pkg/config"
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    
    func DefaultConfig() *Config {
    	return &Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/third_party/forked/golang/netutil/addr.go

    package netutil
    
    import (
    	"net/url"
    	"strings"
    )
    
    // FROM: http://golang.org/src/net/http/client.go
    // Given a string of the form "host", "host:port", or "[ipv6::address]:port",
    // return true if the string includes a port.
    func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
    
    // FROM: http://golang.org/src/net/http/transport.go
    var portMap = map[string]string{
    	"http":   "80",
    	"https":  "443",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 21 10:49:41 UTC 2022
    - 723 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial.go

    */
    
    package proxy
    
    import (
    	"context"
    	"crypto/tls"
    	"fmt"
    	"net"
    	"net/http"
    	"net/url"
    
    	utilnet "k8s.io/apimachinery/pkg/util/net"
    	"k8s.io/apimachinery/third_party/forked/golang/netutil"
    	"k8s.io/klog/v2"
    )
    
    // DialURL will dial the specified URL using the underlying dialer held by the passed
    // RoundTripper. The primary use of this method is to support proxying upgradable connections.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/ModelBlockTransformer.java

            for (Statement statement : statements) {
                ScriptBlock scriptBlock = AstUtils.detectScriptBlock(statement, SCRIPT_BLOCK_NAMES);
                if (scriptBlock == null) {
                    // Look for model(«») (i.e. call to model with anything other than non literal closure)
                    MethodCallExpression methodCall = AstUtils.extractBareMethodCall(statement);
                    if (methodCall == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. pkg/dns/server/name_table.go

    package server
    
    import (
    	"strings"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/serviceregistry/provider"
    	"istio.io/istio/pkg/config/constants"
    	dnsProto "istio.io/istio/pkg/dns/proto"
    	netutil "istio.io/istio/pkg/util/net"
    )
    
    // Config for building the name table.
    type Config struct {
    	Node *model.Proxy
    	Push *model.PushContext
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/FixMainScriptTransformer.java

        public void call(SourceUnit source) throws CompilationFailedException {
            ClassNode scriptClass = AstUtils.getScriptClass(source);
            if (scriptClass == null) {
                return;
            }
            for (MethodNode methodNode : scriptClass.getMethods()) {
                if (methodNode.getName().equals("main")) {
                    AstUtils.removeMethod(scriptClass, methodNode);
                    break;
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RulesVisitor.java

            ClosureExpression closureExpression = AstUtils.getSingleClosureArg(call);
            if (closureExpression != null) {
                // path { ... }
                rewriteAction(call, extractModelPathFromMethodTarget(call), closureExpression, RuleVisitor.displayName(call));
                return;
            }
    
            Pair<ClassExpression, ClosureExpression> args = AstUtils.getClassAndClosureArgs(call);
            if (args != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/TaskDefinitionScriptTransformer.java

        @Override
        protected int getPhase() {
            return Phases.CANONICALIZATION;
        }
    
        @Override
        public void call(SourceUnit source) throws CompilationFailedException {
            AstUtils.visitScriptCode(source, new TaskDefinitionTransformer());
        }
    
        private static class TaskDefinitionTransformer extends CodeVisitorSupport {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 19 22:17:48 UTC 2019
    - 9.1K bytes
    - Viewed (0)
Back to top