Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 1,165 for out1 (0.02 seconds)

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

          sessionFactory.start();
        }
    
        HttpUrl authorizeUrl = sessionFactory.newAuthorizeUrl(scopes, team, session -> {
          initOauthSession(session);
          System.out.printf("session granted: %s\n", session);
        });
    
        System.out.printf("open this URL in a browser: %s\n", authorizeUrl);
      }
    
      /** Set the OAuth session for this client. */
      public synchronized void initOauthSession(OAuthSession session) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.4K bytes
    - Click Count (0)
  2. lib/time/update.bash

    # https://github.com/eggert/tz/blob/main/Makefile
    if ! make CFLAGS=-DSTD_INSPIRED AWK=awk TZDIR=zoneinfo PACKRATDATA=backzone PACKRATLIST=zone.tab posix_only >make.out 2>&1; then
    	cat make.out
    	exit 2
    fi
    
    cd zoneinfo
    ../mkzip ../../zoneinfo.zip
    cd ../..
    
    files="update.bash zoneinfo.zip"
    modified=true
    if git diff --quiet $files; then
    	modified=false
    fi
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Dec 11 16:47:56 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/resources/test/ssl/README.md

    8. Export the node's private key
       `openssl pkcs12 -in test-node.p12 -passin pass:keypass -nocerts -passout pass:test-node-key-password -out test-node.key`
    9. Convert the client's keystore to PKCS#12 temporarily so that we can export the private key (as keytool doesn't allow this)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                        } while (prefixLen > 1 && out[prefixLen - 1] != '/');
                        break;
                    }
                    state = 2;
                case 2:
                    if (in[i] == '/') {
                        state = 1;
                    }
                    out[prefixLen++] = in[i];
                    break;
                }
            }
    
            this.canon = new String(out, 0, prefixLen);
            if (prefixLen > 1) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  5. internal/handlers/forwarder.go

    			u = parsedURL
    		}
    	}
    	return u
    }
    
    // copyURL provides update safe copy by avoiding shallow copying User field
    func copyURL(i *url.URL) *url.URL {
    	out := *i
    	if i.User != nil {
    		u := *i.User
    		out.User = &u
    	}
    	return &out
    }
    
    // Modify the request to handle the target URL
    func (f *Forwarder) modifyRequest(outReq *http.Request, target *url.URL) {
    	outReq.URL = copyURL(outReq.URL)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

        streamPrimesToSinkAsynchronously(pipeBody.sink());
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      private void streamPrimesToSinkAsynchronously(final BufferedSink sink) {
        Thread thread = new Thread("writer") {
          @Override public void run() {
            try {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 3.1K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

      }
    
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        try {
          ByteArrayOutputStream bytes = new ByteArrayOutputStream();
          ObjectOutputStream out = new ObjectOutputStream(bytes);
          out.writeObject(object);
          ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
          return (T) in.readObject();
        } catch (IOException | ClassNotFoundException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jun 11 16:13:05 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  8. okhttp-tls/README.md

    Call call = client.newCall(new Request.Builder()
        .url(server.url("/"))
        .build());
    Response response = call.execute();
    System.out.println(response.handshake().peerPrincipal());
    RecordedRequest recordedRequest = server.takeRequest();
    System.out.println(recordedRequest.getHandshake().peerPrincipal());
    ```
    
    This handshake is successful because each party has prearranged to trust the root certificate that
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

          for (int inI = 0, outI = 0; inI < size * 2; ) {
            if (dups.get(inI >>> 1)) {
              inI += 2;
            } else {
              newAlternatingKeysAndValues[outI++] =
                  requireNonNull(localAlternatingKeysAndValues[inI++]);
              newAlternatingKeysAndValues[outI++] =
                  requireNonNull(localAlternatingKeysAndValues[inI++]);
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 41.2K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

       * match "*.com" or similar. This was a nonstandard check that we've since dropped. It is the CA's
       * responsibility to not hand out certificates that match so broadly.
       */
      @Test fun wildcardsDoesNotNeedTwoDots() {
        // openssl req -x509 -nodes -days 36500 -subj '/CN=*.com' -newkey rsa:512 -out cert.pem
        val session =
          session(
            """
            -----BEGIN CERTIFICATE-----
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 40.4K bytes
    - Click Count (0)
Back to Top