Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1441 - 1450 of 1,647 for Invalid (0.07 seconds)

  1. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            m.ptype = 0; // Request type
            NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
            m.encode(buf);
    
            buf.setIndex(0);
            // Decode will throw exception as ptype 0 is not a valid response type
            assertThrows(NdrException.class, () -> m.decode(buf));
        }
    
        @Test
        void testRoundTripEncodeDecodeForResponseType() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. docs/en/docs/how-to/custom-request-and-route.md

    To solve this same problem, it's probably a lot easier to use the `body` in a custom handler for `RequestValidationError` ([Handling Errors](../tutorial/handling-errors.md#use-the-requestvalidationerror-body)).
    
    But this example is still valid and it shows how to interact with the internal components.
    
    ///
    
    We can also use this same approach to access the request body in an exception handler.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  3. src/arena/arena.go

    safe. Typically, a use-after-free bug will result in a fault and a helpful
    error message, but this package reserves the right to not force a fault on
    freed memory. That means a valid implementation of this package is to just
    allocate all memory the way the runtime normally would, and in fact, it
    reserves the right to occasionally do so for some Go values.
    */
    package arena
    
    import (
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

     * String normalized = normalizer.normalize("ガギグゲゴ", "field");
     * System.out.println(normalized); // Outputs: ガギグゲゴ
     * }
     * </pre>
     *
     * <p>Note: This class assumes that the input string contains valid Hankaku Kana characters
     * and does not perform any validation on the input.</p>
     *
     * @see Normalizer
     */
    public class HankakuKanaToZenkakuKana implements Normalizer {
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 6.8K bytes
    - Click Count (1)
  5. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.pac.PACDecodingException;
    
    /**
     * Tests for KerberosEncData.
     */
    class KerberosEncDataTest {
    
        /**
         * Test constructor with a valid token.
         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if a PAC decoding error occurs
         * @throws UnknownHostException if the IP address is not found
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

            } else {
                project.afterEvaluate(spec -> {
                    if (extension.fixtures.isEmpty()) {
                        // if only one fixture is used, that's this one, but without a compose file that's not a valid configuration
                        throw new IllegalStateException(
                            "No " + DOCKER_COMPOSE_YML + " found for " + project.getPath() + " nor does it use other fixtures."
                        );
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  7. callbacks/query.go

    					clauseSelect.Columns = append(clauseSelect.Columns, clause.Column{Table: db.Statement.Table, Name: dbName})
    				}
    			}
    		} else if db.Statement.Schema != nil && db.Statement.ReflectValue.IsValid() {
    			queryFields := db.QueryFields
    			if !queryFields {
    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Struct:
    					queryFields = db.Statement.ReflectValue.Type() != db.Statement.Schema.ModelType
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 10.4K bytes
    - Click Count (3)
  8. docs/smb3-features/04-directory-leasing-design.md

            DirectoryCacheEntry entry = directoryCache.get(directoryPath);
            
            // Check if cache entry is valid
            if (entry != null && entry.needsRefresh()) {
                // Check if lease is still valid
                LeaseEntry leaseEntry = baseLeaseManager.getLease(entry.getLeaseKey());
                if (leaseEntry == null || !leaseEntry.hasReadCache()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/security/oauth2-jwt.md

    Mettez à jour `get_current_user` pour recevoir le même jeton qu'auparavant, mais cette fois en utilisant des jetons JWT.
    
    Décodez le jeton reçu, vérifiez-le, et renvoyez l'utilisateur courant.
    
    Si le jeton est invalide, renvoyez immédiatement une erreur HTTP.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## Mettre à jour le *chemin d'accès* `/token` { #update-the-token-path-operation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  10. maven-tests/mvnw

    if [ -d "$MAVEN_HOME" ]; then
      verbose "found existing MAVEN_HOME at $MAVEN_HOME"
      exec_maven "$@"
    fi
    
    case "${distributionUrl-}" in
    *?-bin.zip | *?maven-mvnd-?*-?*.zip) ;;
    *) die "distributionUrl is not valid, must match *-bin.zip or maven-mvnd-*.zip, but found '${distributionUrl-}'" ;;
    esac
    
    # prepare tmp dir
    if TMP_DOWNLOAD_DIR="$(mktemp -d)" && [ -d "$TMP_DOWNLOAD_DIR" ]; then
      clean() { rm -rf -- "$TMP_DOWNLOAD_DIR"; }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top