- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 621 for incorrectly (0.08 seconds)
-
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("FFFE80", Hexdump.toHexString(data2, 0, 6)); // 6 chars = 3 bytes assertEquals("FFFE807F", Hexdump.toHexString(data2, 0, 8)); // 8 chars = 4 bytes // Test odd size (should handle correctly) byte[] data3 = { 0x0A, 0x0B, 0x0C }; assertEquals("0", Hexdump.toHexString(data3, 0, 1)); // 1 char = 0.5 bytes (rounds up to 1) assertEquals("0A", Hexdump.toHexString(data3, 0, 2)); // 2 chars = 1 byte
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
byte[] buf = new byte[length]; Arrays.fill(buf, (byte) 0xFF); return buf; } @Test @DisplayName("constructor initialises command and parameters correctly") void testConstructorInitialisesFields() throws Exception { int level = 42; Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
guava/src/com/google/common/html/HtmlEscapers.java
* <p>HTML escaping is particularly tricky: For example, <a * href="https://www.w3.org/TR/html4/types.html#h-6.2">some elements' text contents must not be HTML * escaped</a>. As a result, it is impossible to escape an HTML document correctly without * domain-specific knowledge beyond what {@code HtmlEscapers} provides. We strongly encourage the * use of HTML templating systems. * * @author Sven Mawson * @author David Beaumont * @since 15.0 */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3K bytes - Click Count (0) -
cmd/erasure-utils.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 3.1K bytes - Click Count (0) -
docs_src/security/tutorial005_py39.py
form_data: OAuth2PasswordRequestForm = Depends(), ) -> Token: user = authenticate_user(fake_users_db, form_data.username, form_data.password) if not user: raise HTTPException(status_code=400, detail="Incorrect username or password") access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES) access_token = create_access_token( data={"sub": user.username, "scope": " ".join(form_data.scopes)},
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
assertEquals(0, msg.readBytesWireFormat(new byte[15], index)); assertEquals(0, msg.readBytesWireFormat(null, index)); } @Test @DisplayName("toString formats correctly") void toStringFormatsCorrectly() { SmbComLogoffAndX msg = new SmbComLogoffAndX(null); String s = msg.toString(); assertNotNull(s, "toString should not be null");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
* * @author David Beaumont * @since 15.0 */ @GwtCompatible public final class EscaperAsserts { private EscaperAsserts() {} /** * Asserts that an escaper behaves correctly with respect to null inputs. * * @param escaper the non-null escaper to test */ public static void assertBasic(Escaper escaper) throws IOException {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 3.8K bytes - Click Count (0) -
docs_src/security/tutorial005_py310.py
form_data: OAuth2PasswordRequestForm = Depends(), ) -> Token: user = authenticate_user(fake_users_db, form_data.username, form_data.password) if not user: raise HTTPException(status_code=400, detail="Incorrect username or password") access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES) access_token = create_access_token( data={"sub": user.username, "scope": " ".join(form_data.scopes)},
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
* * @author David Beaumont * @since 15.0 */ @GwtCompatible public final class EscaperAsserts { private EscaperAsserts() {} /** * Asserts that an escaper behaves correctly with respect to null inputs. * * @param escaper the non-null escaper to test */ public static void assertBasic(Escaper escaper) throws IOException {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessEnumTest.java
assertEquals("NODE_AVAILABLE", WitnessEventType.NODE_AVAILABLE.toString()); } @Test void testEnumValueOf() { // Test that valueOf works correctly assertEquals(WitnessServiceType.CLUSTER_WITNESS, WitnessServiceType.valueOf("CLUSTER_WITNESS")); assertEquals(WitnessServiceType.FILE_SERVER_WITNESS, WitnessServiceType.valueOf("FILE_SERVER_WITNESS"));
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 6.1K bytes - Click Count (0)