Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 599 for decodeTo (0.06 seconds)

  1. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

    import java.io.EOFException
    import java.net.InetAddress
    import java.net.UnknownHostException
    import okio.Buffer
    import okio.ByteString
    import okio.utf8Size
    
    /**
     * Trivial Dns Encoder/Decoder, basically ripped from Netty full implementation.
     */
    internal object DnsRecordCodec {
      private const val SERVFAIL = 2
      private const val NXDOMAIN = 3
      const val TYPE_A = 0x0001
      const val TYPE_AAAA = 0x001c
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java

            this.value = value & 0xFF;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
            dst.enc_ndr_small(value);
        }
    
        @Override
        public void decode(final NdrBuffer src) throws NdrException {
            value = src.dec_ndr_small();
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            if (errorCode != 0) {
                return 4;
            }
    
            try {
                securityDescriptor = new SecurityDescriptor();
                bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len);
            } catch (final IOException ioe) {
                throw new RuntimeException(ioe.getMessage());
            }
    
            return bufferIndex - start;
        }
    
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/dcerpc/ndr/NdrShort.java

            this.value = value & 0xFF;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
            dst.enc_ndr_short(this.value);
        }
    
        @Override
        public void decode(final NdrBuffer src) throws NdrException {
            this.value = src.dec_ndr_short();
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/dcerpc/ndr/NdrShort.java

            this.value = value & 0xFF;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
            dst.enc_ndr_short(value);
        }
    
        @Override
        public void decode(final NdrBuffer src) throws NdrException {
            value = src.dec_ndr_short();
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

      //                the body from slack is a 0-byte-buffer
      @Override public synchronized void onOpen(WebSocket webSocket, Response response) {
        System.out.println("onOpen: " + response);
      }
    
      // TOOD(jwilson): decode incoming messages and dispatch them somewhere.
      @Override public void onMessage(WebSocket webSocket, String text) {
        System.out.println("onMessage: " + text);
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 19 20:16:58 GMT 2016
    - 2.4K bytes
    - Click Count (0)
  7. docs/debugging/inspect/export.go

    	"strings"
    	"time"
    
    	json "github.com/minio/colorjson"
    
    	"github.com/klauspost/compress/zip"
    	"github.com/tinylib/msgp/msgp"
    )
    
    func inspectToExportType(downloadPath string, datajson bool) error {
    	decode := func(r io.Reader, file string) ([]byte, error) {
    		b, e := io.ReadAll(r)
    		if e != nil {
    			return nil, e
    		}
    		b, _, minor, e := checkXL2V1(b)
    		if e != nil {
    			return nil, e
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (1)
  8. tests/test_security_http_basic_realm_description.py

        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_security_http_basic_non_basic_credentials():
        payload = b64encode(b"johnsecret").decode("ascii")
        auth_header = f"Basic {payload}"
        response = client.get("/users/me", headers={"Authorization": auth_header})
        assert response.status_code == 401, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

                        final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
                        form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                                .filter(StringUtil::isNotBlank)
                                .distinct()
                                .collect(Collectors.joining("\n")));
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/dcerpc/ndr/NdrHyper.java

            this.value = value;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
            dst.enc_ndr_hyper(this.value);
        }
    
        @Override
        public void decode(final NdrBuffer src) throws NdrException {
            this.value = src.dec_ndr_hyper();
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top