Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 7,250 for return (0.06 sec)

  1. internal/config/etcd/etcd.go

    func New(cfg Config) (*clientv3.Client, error) {
    	if !cfg.Enabled {
    		return nil, nil
    	}
    	cli, err := clientv3.New(cfg.Config)
    	if err != nil {
    		return nil, err
    	}
    	cli.KV = namespace.NewKV(cli.KV, cfg.PathPrefix)
    	cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.PathPrefix)
    	cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix)
    	return cli, nil
    }
    
    func parseEndpoints(endpoints string) ([]string, bool, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 23:17:22 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
      /** Returns an immutable bimap containing a single entry. */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) {
        checkEntryNotNull(k1, v1);
        return new RegularImmutableBiMap<>(new Object[] {k1, v1}, 1);
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            artifact.setFile(artifactFile);
    
            return artifact;
        }
    
        public List<String> findVersions(Artifact artifact) {
            return Collections.emptyList();
        }
    
        public String getId() {
            return id;
        }
    
        public String getUrl() {
            return url;
        }
    
        public String getBasedir() {
            return basedir;
        }
    
        public String getProtocol() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/listener.go

    	if nHTTP > 0 {
    		if nTCP == 0 {
    			return "HTTP"
    		}
    		return "HTTP+TCP"
    	} else if nTCP > 0 {
    		return "TCP"
    	}
    
    	return "UNKNOWN"
    }
    
    func retrieveListenerAddress(l *listener.Listener) string {
    	sockAddr := l.Address.GetSocketAddress()
    	if sockAddr != nil {
    		return sockAddr.Address
    	}
    
    	pipe := l.Address.GetPipe()
    	if pipe != nil {
    		return pipe.Path
    	}
    
    	return ""
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/PairedStats.java

      }
    
      /** Returns the number of pairs in the dataset. */
      public long count() {
        return xStats.count();
      }
    
      /** Returns the statistics on the {@code x} values alone. */
      public Stats xStats() {
        return xStats;
      }
    
      /** Returns the statistics on the {@code y} values alone. */
      public Stats yStats() {
        return yStats;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/MoreFiles.java

          return ImmutableList.copyOf(stream);
        } catch (DirectoryIteratorException e) {
          throw e.getCause();
        }
      }
    
      /**
       * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser
       * starts from a {@link Path} and will return all files and directories it encounters.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/MoreFiles.java

          return ImmutableList.copyOf(stream);
        } catch (DirectoryIteratorException e) {
          throw e.getCause();
        }
      }
    
      /**
       * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser
       * starts from a {@link Path} and will return all files and directories it encounters.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/MoreExecutors.java

            directExecutor());
        return future;
      }
    
      /**
       * Returns a default thread factory used to create new threads.
       *
       * <p>When running on AppEngine with access to <a
       * href="https://cloud.google.com/appengine/docs/standard/java/javadoc/">AppEngine legacy
       * APIs</a>, this method returns {@code ThreadManager.currentRequestThreadFactory()}. Otherwise,
       * it returns {@link Executors#defaultThreadFactory()}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  9. cmd/http-tracer.go

    // redact LDAP password if part of string
    func redactLDAPPwd(s string) string {
    	parts := ldapPwdRegex.FindStringSubmatch(s)
    	if len(parts) > 3 {
    		return parts[1] + "LDAPPassword=*REDACTED*" + parts[3]
    	}
    	return s
    }
    
    // getOpName sanitizes the operation name for mc
    func getOpName(name string) (op string) {
    	op = strings.TrimPrefix(name, "github.com/minio/minio/cmd.")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

          return hashCode();
        }
        if (args.length == 1
            && method.getName().equals("equals")
            && method.getParameterTypes()[0] == Object.class) {
          Object arg = args[0];
          if (arg == null) {
            return false;
          }
          if (proxy == arg) {
            return true;
          }
          return isProxyOfSameInterfaces(arg, proxy.getClass())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
Back to top