Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 349 for qEncode (0.09 sec)

  1. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java

         */
        @Override
        public int size () {
            return 8;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt8(this.endOfFile, dst, dstIndex);
            return 8;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  2. docs_src/security/tutorial007_an_py39.py

    ):
        current_username_bytes = credentials.username.encode("utf8")
        correct_username_bytes = b"stanleyjobson"
        is_correct_username = secrets.compare_digest(
            current_username_bytes, correct_username_bytes
        )
        current_password_bytes = credentials.password.encode("utf8")
        correct_password_bytes = b"swordfish"
        is_correct_password = secrets.compare_digest(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt

      }
    
      private fun testToUrl(
        codePoint: Int,
        encoding: UrlComponentEncodingTester.Encoding,
        component: Component,
      ) {
        val encoded = encoding.encode(codePoint)
        val httpUrl = component.urlString(encoded).toHttpUrl()
        val javaNetUrl = httpUrl.toUrl()
        if (javaNetUrl.toString() != javaNetUrl.toString()) {
          fail("Encoding $component $codePoint using $encoding")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/av/AvTargetName.java

         */
        public AvTargetName ( String targetName ) {
            this(encode(targetName));
        }
    
    
        /**
         * 
         * @return the target name
         */
        public String getTargetName () {
            return new String(getRaw(), UTF16LE);
        }
    
    
        /**
         * @param targetName
         * @return
         */
        private static byte[] encode ( String targetName ) {
            return targetName.getBytes(UTF16LE);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         */
        @Override
        public int size () {
            return 24;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt8(this.offset, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.length, dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  6. cmd/listen-notification-handlers.go

    		tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}}
    		for {
    			select {
    			case ev := <-localCh:
    				buf.Reset()
    				tmpEvt.Records[0] = ev
    				if err := enc.Encode(tmpEvt); err != nil {
    					bugLogIf(ctx, err, "event: Encode failed")
    					continue
    				}
    				mergeCh <- append(grid.GetByteBuffer()[:0], buf.Bytes()...)
    			case <-ctx.Done():
    				grid.PutByteBuffer(buf.Bytes())
    				return
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/HuffmanTest.kt

     */
    package okhttp3.internal.http2
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.util.Random
    import okhttp3.internal.http2.Huffman.decode
    import okhttp3.internal.http2.Huffman.encode
    import okhttp3.internal.http2.Huffman.encodedLength
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.ByteString.Companion.toByteString
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. docs/debugging/inspect/main.go

    	}
    	privatePem, err := os.Create("support_private.pem")
    	if err != nil {
    		fmt.Printf("error when create private.pem: %s n", err)
    		os.Exit(1)
    	}
    	err = pem.Encode(privatePem, privateKeyBlock)
    	if err != nil {
    		fmt.Printf("error when encode private pem: %s n", err)
    		os.Exit(1)
    	}
    
    	// dump public key to file
    	publicKeyBytes := x509.MarshalPKCS1PublicKey(&privatekey.PublicKey)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

         */
        @Override
        public int getContextType () {
            return NEGO_CTX_ENC_TYPE;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt2(this.ciphers != null ? this.ciphers.length : 0, dst, dstIndex);
            dstIndex += 2;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

         */
        @Override
        public int size () {
            return 22;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt8(this.allocationSize, dst, dstIndex);
            dstIndex += 8;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
Back to top