- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 66 for trimming (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/entity/ChatSessionTest.java
session.addAssistantMessage("Assistant 2"); session.addUserMessage("User 3"); session.addAssistantMessage("Assistant 3"); assertEquals(6, session.getMessageCount()); // Trimming to 3 would start at index 3 (assistant), so it should go back to index 2 (user) session.trimHistory(3); final List<ChatMessage> messages = session.getMessages(); assertEquals(4, messages.size());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 12.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
assertThat(CharMatcher.any().collapseFrom("ab", '_')).isEqualTo("_"); assertThat(CharMatcher.any().collapseFrom("abcd", '_')).isEqualTo("_"); } public void testTrimFrom() { // trimming - doTestTrimFrom("-", ""); doTestTrimFrom("x-", "x"); doTestTrimFrom("-x", "x"); doTestTrimFrom("--", ""); doTestTrimFrom("x--", "x"); doTestTrimFrom("--x", "x");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 32.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/InputStreamThread.java
buf.append(value).append("\n"); } return buf.toString(); } /** * Checks if the buffer contains a line that matches the specified value (after trimming). * * @param value the value to search for in the buffered lines * @return true if a matching line is found, false otherwise */ public boolean contains(final String value) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.6K bytes - Click Count (0) -
internal/s3select/sql/funceval.go
// needed. // String might contain trimming spaces, which // needs to be trimmed. res, ok := strToInt(strings.TrimSpace(x)) if !ok { return 0, errCastFailure("could not parse as int") } return res, nil case []byte: // Parse as number, truncate floating point if // needed. // String might contain trimming spaces, which // needs to be trimmed.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
/** * Security-focused test cases for NtlmPasswordAuthenticator to verify timing attack resistance. */ public class NtlmPasswordAuthenticatorTimingAttackTest { private static final int TIMING_ITERATIONS = 1000; private static final double TIMING_TOLERANCE = 2.0; // 200% tolerance - JVM timing is inherently variable for timing variations @BeforeEach public void setUp() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
// Four byte characters FOUR_BYTE_ROUNDTRIPPABLE_CHARACTERS; /** Tests that round tripping of all two byte permutations work. */ @GwtIncompatible // java.nio.charset.Charset public void testIsWellFormed_1Byte() { testBytes(1, EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT); } /** Tests that round tripping of all two byte permutations work. */ @GwtIncompatible // java.nio.charset.CharsetCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 12.9K bytes - Click Count (0) -
docs/tr/docs/advanced/security/http-basic-auth.md
# Bir hata döndür ... ``` Ancak `secrets.compare_digest()` kullanarak, "timing attacks" denilen bir saldırı türüne karşı güvenli olursunuz. ### Timing Attacks { #timing-attacks } Peki "timing attack" nedir? Bazı saldırganların kullanıcı adı ve şifreyi tahmin etmeye çalıştığını düşünelim.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 5.5K bytes - Click Count (0) -
docs/es/docs/advanced/security/http-basic-auth.md
# Devuelve algún error ... ``` Pero al usar `secrets.compare_digest()` será seguro contra un tipo de ataques llamados "timing attacks". ### Timing attacks { #timing-attacks } ¿Pero qué es un "timing attack"? Imaginemos que algunos atacantes están tratando de adivinar el nombre de usuario y la contraseña.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 5.3K bytes - Click Count (0) -
docs/de/docs/advanced/security/http-basic-auth.md
# Einen Error zurückgeben ... ``` Aber durch die Verwendung von `secrets.compare_digest()` ist dieser Code sicher vor einer Art von Angriffen, die „Timing-Angriffe“ genannt werden. ### Timing-Angriffe { #timing-attacks } Aber was ist ein „Timing-Angriff“? Stellen wir uns vor, dass einige Angreifer versuchen, den Benutzernamen und das Passwort zu erraten.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 6.1K bytes - Click Count (0) -
docs/pt/docs/advanced/security/http-basic-auth.md
# Return some error ... ``` Porém, ao utilizar o `secrets.compare_digest()`, isso estará seguro contra um tipo de ataque chamado "timing attacks". ### Ataques de Temporização { #timing-attacks } Mas o que é um "timing attack"? Vamos imaginar que alguns invasores estão tentando adivinhar o usuário e a senha. E eles enviam uma requisição com um usuário `johndoe` e uma senha `love123`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 5.2K bytes - Click Count (0)