Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 40 for userDict (0.05 seconds)

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                assertTrue("Exception should be DictionaryException", e instanceof DictionaryException);
                assertTrue("Message should mention userDict file",
                        e.getMessage().contains("userDict") || e.getMessage().contains("Failed to write"));
            } finally {
                // Ensure proper cleanup
                if (updater != null) {
                    try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                        }
                    }
                    if (newFile != null) {
                        newFile.delete();
                    }
                    throw new DictionaryException("Failed to write a userDict file.", e);
                }
                item = newItem;
            }
    
            /**
             * Writes a character mapping item to the temporary file.
             *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                        }
                    }
                    if (newFile != null) {
                        newFile.delete();
                    }
                    throw new DictionaryException("Failed to write a userDict file.", e);
                }
                item = newItem;
            }
    
            /**
             * Writes the old item to the new file.
             *
             * @param oldItem The old item.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                        }
                    }
                    if (newFile != null) {
                        newFile.delete();
                    }
                    throw new DictionaryException("Failed to write a userDict file.", e);
                }
                item = newItem;
            }
    
            /**
             * Writes a protwords item to the temporary file.
             * @param oldItem the item to write
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                        }
                    }
                    if (newFile != null) {
                        newFile.delete();
                    }
                    throw new DictionaryException("Failed to write a userDict file.", e);
                }
                item = newItem;
            }
    
            /**
             * Writes a stopword item to the temporary file.
             * If the item is being updated, it writes the new version.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 13K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                        }
                    }
                    if (newFile != null) {
                        newFile.delete();
                    }
                    throw new DictionaryException("Failed to write a userDict file.", e);
                }
                item = newItem;
            }
    
            /**
             * Writes a stemmer override item to the temporary file.
             * If the item is being updated, it writes the new version.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                        }
                    }
                    if (newFile != null) {
                        newFile.delete();
                    }
                    throw new DictionaryException("Failed to write a userDict file.", e);
                }
                item = newItem;
            }
    
            /**
             * Writes a synonym item to the temporary file.
             * If the item is being updated, it writes the new version.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/extra-models.md

    ```
    
    #### Desempaquetando un `dict` { #unpacking-a-dict }
    
    Si tomamos un `dict` como `user_dict` y lo pasamos a una función (o clase) con `**user_dict`, Python lo "desempaquetará". Pasará las claves y valores del `user_dict` directamente como argumentos clave-valor.
    
    Así que, continuando con el `user_dict` anterior, escribir:
    
    ```Python
    UserInDB(**user_dict)
    ```
    
    sería equivalente a algo como:
    
    ```Python
    UserInDB(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  9. docs_src/security/tutorial003_an_py310.py

        return current_user
    
    
    @app.post("/token")
    async def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]):
        user_dict = fake_users_db.get(form_data.username)
        if not user_dict:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        user = UserInDB(**user_dict)
        hashed_password = fake_hash_password(form_data.password)
        if not hashed_password == user.hashed_password:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/extra-models.md

    #### Déballer un `dict` { #unpacking-a-dict }
    
    Si nous prenons un `dict` comme `user_dict` et que nous le passons à une fonction (ou une classe) avec `**user_dict`, Python va « déballer » ce `dict`. Il passera les clés et valeurs de `user_dict` directement comme arguments nommés.
    
    Ainsi, en reprenant `user_dict` ci-dessus, écrire :
    
    ```Python
    UserInDB(**user_dict)
    ```
    
    aurait pour résultat quelque chose d'équivalent à :
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 7.6K bytes
    - Click Count (0)
Back to Top