Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 1,280 for Byte (0.05 sec)

  1. internal/rest/client.go

    	}
    
    	return req, nil
    }
    
    type respBodyMonitor struct {
    	io.ReadCloser
    	expectTimeouts  bool
    	errorStatusOnce sync.Once
    }
    
    func (r *respBodyMonitor) Read(p []byte) (n int, err error) {
    	n, err = r.ReadCloser.Read(p)
    	r.errorStatus(err)
    	return
    }
    
    func (r *respBodyMonitor) Close() (err error) {
    	err = r.ReadCloser.Close()
    	r.errorStatus(err)
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

         *
         * @param bytes
         *            バイトの配列
         * @return 16進数の文字列
         */
        public static String toHex(final byte[] bytes) {
            if (bytes == null) {
                return "";
            }
            final StringBuilder sb = new StringBuilder(bytes.length * 2);
            for (final byte b : bytes) {
                appendHex(sb, b);
            }
            return new String(sb);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	path := "config_dump"
    	debug, err := kubeClient.EnvoyDoWithPort(context.TODO(), podName, podNamespace, "GET", path, 15000)
    	if err != nil {
    		return nil, fmt.Errorf("failed to execute command on %s.%s Ztunnel: %v", podName, podNamespace, err)
    	}
    	return debug, err
    }
    
    func setupConfigdumpZtunnelConfigWriter(debug []byte, out io.Writer) (*ztunnelDump.ConfigWriter, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 19:17:45 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/transport/Transport.java

     */
    
    public abstract class Transport implements Runnable {
    
        static int id = 0;
        static LogStream log = LogStream.getInstance();
    
        public static int readn( InputStream in,
                    byte[] b,
                    int off,
                    int len ) throws IOException {
            int i = 0, n = -5;
    
            while (i < len) {
                n = in.read( b, off + i, len - i );
                if (n <= 0) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9K bytes
    - Viewed (0)
  5. docs/changelogs/upgrading_to_okhttp_4.md

    Gradle
    ------
    
    OkHttp 4’s minimum requirements are Java 8+ and Android 5+. These requirements were
    [first introduced][require_android_5] with OkHttp 3.13.
    
    Here’s what you need in `build.gradle` to target Java 8 byte code for Kotlin, Java, and Android
    plugins respectively.
    
    ```groovy
    compileKotlin {
      kotlinOptions {
        jvmTarget = "1.8"
      }
    }
    compileTestKotlin {
      kotlinOptions {
        jvmTarget = "1.8"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  6. cmd/utils_test.go

    	type jsonResult struct {
    		Method     string      `json:"method"`
    		RequestURI string      `json:"reqURI"`
    		Header     http.Header `json:"header"`
    	}
    	res := jsonResult{}
    	if err = json.Unmarshal([]byte(strings.ReplaceAll(jsonReq, "%%", "%")), &res); err != nil {
    		t.Fatal(err)
    	}
    
    	// Look for expected method.
    	if res.Method != http.MethodGet {
    		t.Fatalf("Unexpected method %s, expected 'GET'", res.Method)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbNamedPipe.java

     * writes to and reads from an existing pipe descriptor in one operation.
     * <li><code>CreateFile</code>, <code>ReadFile</code>,
     * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can
     * be opened, written to, read from and closed using the standard Win32
     * file operations.
     * </ul>
     *
     * <p>
     * The jCIFS API maps all of these operations into the standard Java
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/NetbiosAddress.java

         *
         * @return the MAC address as an array of six bytes
         * @throws UnknownHostException
         *             if the host cannot be resolved to
         *             determine the MAC address.
         */
        byte[] getMacAddress ( CIFSContext tc ) throws UnknownHostException;
    
    
        /**
         * Returned the hex code associated with this name(e.g. 0x20 is for the file service)
         * 
         * @return the name type
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmServlet.java

                    dc = getTransportContext().getNameServiceClient().getByName(this.domainController, true);
                }
                NtlmPasswordAuthentication ntlm;
                if ( msg.startsWith("NTLM ") ) {
                    byte[] challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc);
                    ntlm = NtlmSsp.authenticate(getTransportContext(), request, response, challenge);
                    if ( ntlm == null )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NtlmServlet.java

                } else {
                    dc = UniAddress.getByName( domainController, true );
                }
                NtlmPasswordAuthentication ntlm;
                if (msg.startsWith("NTLM ")) {
                    byte[] challenge = SmbSession.getChallenge(dc);
                    ntlm = NtlmSsp.authenticate(request, response, challenge);
                    if (ntlm == null) return;
                } else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
Back to top