Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 703 for Encoded (0.05 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            // Directory-specific data: 20 bytes (CacheScope(4) + MaxCacheAge(8) + Flags(4) + NotificationFilter(4))
            return 16 + 4 + 4 + 32 + 20;
        }
    
        @Override
        public int encode(byte[] buffer, int offset) {
            int start = offset;
    
            // Write context header
            SMBUtil.writeInt4(0, buffer, offset); // Next (offset to next context, 0 for last)
            offset += 4;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/ConsoleIcon.java

            this.unicodeChar = unicodeChar;
            this.asciiFallback = asciiFallback;
        }
    
        /**
         * Returns the appropriate icon representation for the given terminal.
         * Tests if the terminal's charset can encode the Unicode character,
         * falling back to ASCII if not.
         *
         * @param terminal the terminal to get the icon for
         * @return the Unicode character if supported, otherwise the ASCII fallback
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. cmd/erasure-sets.go

    		return -1
    	}
    }
    
    // Returns always a same erasure coded set for a given input.
    func (s *erasureSets) getHashedSetIndex(input string) int {
    	return hashKey(s.distributionAlgo, input, len(s.sets), s.deploymentID)
    }
    
    // Returns always a same erasure coded set for a given input.
    func (s *erasureSets) getHashedSet(input string) (set *erasureObjects) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

       * processed during inflation. If this happens, we need to either reject the message or discard
       * the unreachable data. We choose to discard it!
       *
       * In practice this could happen if the encoder doesn't strip the [0x00, 0x00, 0xff, 0xff] suffix
       * and that ends up repeated.
       *
       * https://github.com/square/okhttp/issues/8551
       */
      @Test
      fun `deflated data has too many bytes`() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:26:07 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. 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(t.Context(), 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)
    		}
    		if n != test.data {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                    return; // no NTLM
                }
                int attempt = 0;
                while (attempt < MAX_REDIRECTS) {
                    connection.setRequestProperty(authProperty, authMethod + ' ' + Base64.encode(type1.toByteArray()));
                    connection.connect(); // send type 1
                    response = parseResponseCode();
                    if (response != HTTP_UNAUTHORIZED && response != HTTP_PROXY_AUTH) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. docs_src/security/tutorial005_py39.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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. docs/zh/docs/help-fastapi.md

    您还可以赞助:
    
    * <a href="https://github.com/sponsors/samuelcolvin" class="external-link" target="_blank">Samuel Colvin (Pydantic)</a>
    * <a href="https://github.com/sponsors/encode" class="external-link" target="_blank">Encode (Starlette, Uvicorn)</a>
    
    ---
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

            case null -> null;
            case String s -> s;
            case java.util.Date d -> toString(d, pattern);
            case Number n -> toString(n, pattern);
            case byte[] bytes -> Base64Util.encode(bytes);
            default -> value.toString();
            };
        }
    
        /**
         * Converts the given object to a string.
         *
         * @param value
         *            The object to convert
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NtlmSsp.java

                if (src[8] == 1) {
                    final Type1Message type1 = new Type1Message(src);
                    final Type2Message type2 = new Type2Message(type1, challenge, null);
                    msg = Base64.encode(type2.toByteArray());
                    resp.setHeader("WWW-Authenticate", "NTLM " + msg);
                } else if (src[8] == 3) {
                    final Type3Message type3 = new Type3Message(src);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top