Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 867 for encode (0.09 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    in = socket.getInputStream();
                }
    
                if (++mid == 32000) mid = 1;
                NEGOTIATE_REQUEST.mid = mid;
                int n = NEGOTIATE_REQUEST.encode( sbuf, 4 );
                Encdec.enc_uint32be( n & 0xFFFF, sbuf, 0 ); /* 4 byte ssn msg header */
    
                if (log.level >= 4) {
                    log.println( NEGOTIATE_REQUEST );
                    if (log.level >= 6) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                //  smb/ftp->http
                // encode
                final StringBuilder buf = new StringBuilder(url.length() + 100);
                for (final char c : url.toCharArray()) {
                    if (CharUtil.isUrlChar(c)) {
                        buf.append(c);
                    } else {
                        try {
                            buf.append(URLEncoder.encode(String.valueOf(c), urlLinkEncoding));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  4. docs_src/security/tutorial004_an.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: Annotated[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.2K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/middleware.md

    {!../../docs_src/advanced_middleware/tutorial003.py!}
    ```
    
    πŸ“„ ❌ πŸ•β€πŸ¦Ί:
    
    * `minimum_size` - 🚫 πŸ—œ πŸ“¨ πŸ‘ˆ πŸ€ͺ 🌘 πŸ‘‰ πŸ’― πŸ“ πŸ”’. πŸ”’ `500`.
    
    ## 🎏 πŸ› οΈ
    
    πŸ“€ πŸ“š 🎏 πŸ”« πŸ› οΈ.
    
    πŸ–Ό:
    
    * <a href="https://github.com/encode/uvicorn/blob/master/uvicorn/middleware/proxy_headers.py" class="external-link" target="_blank">Uvicorn `ProxyHeadersMiddleware`</a>
    * <a href="https://github.com/florimondmanca/msgpack-asgi" class="external-link" target="_blank">πŸ‡ΈπŸ‡²</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret.go

    	return c
    }
    
    func createRemoteServiceAccountSecret(kubeconfig *api.Config, clusterName, secName string) (*v1.Secret, error) { // nolint:interfacer
    	var data bytes.Buffer
    	if err := latest.Codec.Encode(kubeconfig, &data); err != nil {
    		return nil, err
    	}
    	key := clusterName
    	if secName == configSecretName {
    		key = configSecretKey
    	}
    	out := &v1.Secret{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. docs_src/security/tutorial005_py310.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(
        security_scopes: SecurityScopes, token: str = Depends(oauth2_scheme)
    ):
        if security_scopes.scopes:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. cmd/erasure_test.go

    			t.Fatalf("Test %d: failed to create erasure: %v", i, err)
    		}
    		encoded, err := erasure.EncodeData(context.Background(), buffer)
    		if err != nil {
    			t.Fatalf("Test %d: failed to encode data: %v", i, err)
    		}
    
    		for j := range encoded[:test.missingData] {
    			encoded[j] = nil
    		}
    		for j := test.dataBlocks; j < test.dataBlocks+test.missingParity; j++ {
    			encoded[j] = nil
    		}
    
    		if test.reconstructParity {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  9. cmd/erasure-decode_test.go

    		for i, disk := range disks {
    			writers[i] = newBitrotWriter(disk, "", "testbucket", "object", erasure.ShardFileSize(test.data), writeAlgorithm, erasure.ShardSize())
    		}
    		n, err := erasure.Encode(context.Background(), bytes.NewReader(data), writers, buffer, erasure.dataBlocks+1)
    		closeBitrotWriters(writers)
    		if err != nil {
    			t.Fatalf("Test %d: failed to create erasure test file: %v", i, err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                                    buf.append('&');
                                    buf.append(LdiURLUtil.encode(name, Constants.UTF_8));
                                    buf.append('=');
                                    buf.append(LdiURLUtil.encode(value, Constants.UTF_8));
                                }
                            }
                        }
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top