Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 349 for qEncode (0.06 sec)

  1. cmd/admin-handlers.go

    			// previous result back to the client
    			if prevResult.Version != "" {
    				if err := enc.Encode(prevResult); err != nil {
    					return
    				}
    			} else {
    				// first result is not yet obtained, keep writing
    				// empty entry to prevent client from disconnecting.
    				if err := enc.Encode(madmin.SpeedTestResult{}); err != nil {
    					return
    				}
    			}
    			w.(http.Flusher).Flush()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/CommonServerMessageBlock.java

         */
        int decode ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException;
    
    
        /**
         * @param dst
         * @param dstIndex
         * @return message length
         */
        int encode ( byte[] dst, int dstIndex );
    
    
        /**
         * @param digest
         */
        void setDigest ( SMBSigningDigest digest );
    
    
        /**
         * @return the signing digest
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/ndr/NdrShort.java

    @SuppressWarnings ( "javadoc" )
    public class NdrShort extends NdrObject {
    
        public int value;
    
    
        public NdrShort ( int value ) {
            this.value = value & 0xFF;
        }
    
    
        @Override
        public void encode ( NdrBuffer dst ) throws NdrException {
            dst.enc_ndr_short(this.value);
        }
    
    
        @Override
        public void decode ( NdrBuffer src ) throws NdrException {
            this.value = src.dec_ndr_short();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

         * all but the first smb of the chaain do not have a header
         * and therefore we do not want to writeHeaderWireFormat. We
         * just recursivly call writeAndXWireFormat.
         */ 
    
        int encode( byte[] dst, int dstIndex ) {
            int start = headerStart = dstIndex;
    
            dstIndex += writeHeaderWireFormat( dst, dstIndex );
            dstIndex += writeAndXWireFormat( dst, dstIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

            dstIndex += 4;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            for ( Smb2Lock l : this.locks ) {
                dstIndex += l.encode(dst, dstIndex);
            }
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  6. cmd/metacache-marker.go

    			if err != nil {
    				o.ID = mustGetUUID()
    				o.Create = true
    				continue
    			}
    			o.set = int(v)
    		default:
    			// Ignore unknown
    		}
    	}
    }
    
    // encodeMarker will encode a uuid and return it as a marker.
    // uuid cannot contain '[', ':' or ','.
    func (o listPathOptions) encodeMarker(marker string) string {
    	if o.ID == "" {
    		// Mark as returning listing...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/net/URLUtil.java

         * @return <code>application/x-www-form-urlencoded</code>でエンコード文字列
         */
        public static String encode(final String s, final String enc) {
            assertArgumentNotEmpty("s", s);
            assertArgumentNotEmpty("enc", enc);
    
            try {
                return URLEncoder.encode(s, enc);
            } catch (final UnsupportedEncodingException e) {
                throw new IORuntimeException(e);
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Challenge.kt

      val authParams: Map<String?, String>
    
      /** Returns the protection space. */
      @get:JvmName("realm")
      val realm: String?
        get() = authParams["realm"]
    
      /** The charset that should be used to encode the credentials. */
      @get:JvmName("charset")
      val charset: Charset
        get() {
          val charset = authParams["charset"]
          if (charset != null) {
            try {
              return Charset.forName(charset)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    	for {
    		select {
    		case <-ctx.Done():
    			grid.PutByteBuffer(buf.Bytes())
    			return nil
    		case ev := <-ch:
    			buf.Reset()
    			tmpEvt.Records[0] = ev
    			if err := enc.Encode(tmpEvt); err != nil {
    				peersLogOnceIf(ctx, err, "event: Encode failed")
    				continue
    			}
    			out <- grid.NewBytesWithCopyOf(buf.Bytes())
    		}
    	}
    }
    
    // TraceHandler sends http trace messages back to peer rest client
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  10. docs_src/security/tutorial004.py

        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    async def get_current_user(token: str = Depends(oauth2_scheme)):
        credentials_exception = HTTPException(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top