Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 735 for ports (0.02 seconds)

  1. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

     * http://localhost:53203/oauth/}, passing the same port to this class’ constructor.
     */
    public final class SlackApi {
      private final HttpUrl baseUrl = HttpUrl.get("https://slack.com/api/");
      private final OkHttpClient httpClient;
      private final Moshi moshi;
    
      public final String clientId;
      public final String clientSecret;
      public final int port;
    
      public SlackApi(String clientId, String clientSecret, int port) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Click Count (0)
  2. build-logic/idea/src/main/kotlin/gradlebuild.ide.gradle.kts

        runConfigurations {
            create<Remote>("Daemon debug (port 5005)") {
                mode = Remote.RemoteMode.LISTEN
                transport = Remote.RemoteTransport.SOCKET
                sharedMemoryAddress = "javadebug"
                host = "localhost"
                port = 5005
                autoRestart = true
            }
            create<Remote>("Launcher debug (port 5006)") {
                mode = Remote.RemoteMode.LISTEN
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jan 30 10:41:28 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. internal/http/check_port_others.go

    package http
    
    import (
    	"context"
    	"net"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.5K bytes
    - Click Count (0)
  4. misc/go_android_exec/main.go

    		}
    		return errorf("%v: %w", cmd, err)
    	}
    
    	parts := strings.SplitN(string(bytes.TrimSpace(out)), ":", 4)
    	if len(parts) < 2 {
    		return errorf("%v: missing ':' in output: %q", cmd, out)
    	}
    	importPath = parts[0]
    	if importPath == "" || importPath == "." {
    		return errorf("current directory does not have a Go import path")
    	}
    	isStd, err = strconv.ParseBool(parts[1])
    	if err != nil {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/HandlerTest.java

            return new Handler(ctx);
        }
    
        @Test
        @DisplayName("getDefaultPort returns SMB default port")
        void testGetDefaultPort() {
            // Arrange
            Handler handler = newHandler();
            // Act & Assert
            assertEquals(SmbConstants.DEFAULT_PORT, handler.getDefaultPort(), "Default port should match SmbConstants");
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

          return specialCases.get(constantName);
        }
        List<String> parts = new ArrayList<>();
        for (String part : Splitter.on('_').split(constantName)) {
          if (!uppercaseAcronyms.contains(part)) {
            part = part.charAt(0) + Ascii.toLowerCase(part.substring(1));
          }
          parts.add(part);
        }
        return Joiner.on('-').join(parts);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/Handler.java

            path = u.getPath();
            ref = u.getRef();
            if (ref != null) {
                path += '#' + ref;
            }
            port = u.getPort();
            if (port == -1) {
                port = getDefaultPort();
            }
            setURL(u, "smb", u.getHost(), port, u.getAuthority(), u.getUserInfo(), path, u.getQuery(), null);
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt

          when {
            ':' in addressHostname -> append("[").append(addressHostname).append("]")
            else -> append(addressHostname)
          }
          if (address.url.port != socketAddress.port || addressHostname == socketHostname) {
            append(":")
            append(address.url.port)
          }
    
          if (addressHostname != socketHostname) {
            when (proxy) {
              Proxy.NO_PROXY -> append(" at ")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt

            return line.replace(projectDependencyRegex) { match ->
                val projectName = match.groupValues[1]
                val parts = projectName.split(":").last().split("-")
                "projects.${parts.first()}${parts.drop(1).joinToString("") { it.replaceFirstChar { c -> c.uppercaseChar() } }}"
            }
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Mar 03 06:57:08 GMT 2025
    - 6.2K bytes
    - Click Count (1)
  10. src/main/java/jcifs/smb1/smb1/SmbSession.java

         *
         * @param dc the domain controller address
         * @param port the port to connect to
         * @return the NTLM challenge bytes
         * @throws SmbException if an SMB error occurs
         * @throws UnknownHostException if the host cannot be resolved
         */
        public static byte[] getChallenge(final UniAddress dc, final int port) throws SmbException, UnknownHostException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
Back to Top