- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 162 for ASCII (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_security_http_basic_optional.py
assert response.headers["WWW-Authenticate"] == "Basic" assert response.json() == {"detail": "Not authenticated"} def test_security_http_basic_non_basic_credentials(): payload = b64encode(b"johnsecret").decode("ascii") auth_header = f"Basic {payload}" response = client.get("/users/me", headers={"Authorization": auth_header}) assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == "Basic"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
import static com.google.common.truth.Truth.assertThat; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.base.Ascii; import com.google.common.collect.testing.SpliteratorTester; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Spliterator; import java.util.stream.DoubleStream;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
assertEquals((byte) ((expectedAttributes >> 8) & 0xFF), dst[dstIndex + 1]); } /** * Test writeBytesWireFormat with ASCII encoding */ @Test @DisplayName("Test writeBytesWireFormat writes file names correctly in ASCII") public void testWriteBytesWireFormatAscii() throws Exception { // Given String oldFileName = "oldFile.txt";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/CharMatcher.java
return "CharMatcher.breakingWhitespace()"; } } /** Implementation of {@link #ascii()}. */ private static final class Ascii extends NamedFastMatcher { static final CharMatcher INSTANCE = new Ascii(); Ascii() { super("CharMatcher.ascii()"); } @Override public boolean matches(char c) { return c <= '\u007f'; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 53.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
when(mockConfig.isUseUnicode()).thenReturn(true); when(mockConfig.isForceUnicode()).thenReturn(false); when(mockConfig.getOemEncoding()).thenReturn("ASCII"); } @Test @DisplayName("Test constructor with standard path") void testConstructorWithStandardPath() { // Test standard path without trailing backslash
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java
dstIndex += 2; /* * windows98 has what appears to be another 4 0's followed by the share * name as a zero terminated ascii string "\TMP" + '\0' * * As is this works, but it deviates from the spec section 4.1.6.6 but * maybe I should put it in. Wonder what NT does? */ return dstIndex - start;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int FLAGS_TARGET_MUST_BE_FILE = 0x0001; /** Target must be directory flag */ int FLAGS_TARGET_MUST_BE_DIRECTORY = 0x0002; /** Copy target mode ASCII flag */ int FLAGS_COPY_TARGET_MODE_ASCII = 0x0004; /** Copy source mode ASCII flag */ int FLAGS_COPY_SOURCE_MODE_ASCII = 0x0008; /** Verify all writes flag */ int FLAGS_VERIFY_ALL_WRITES = 0x0010; /** Tree copy flag */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSinkTest.java
/** * Tests for the default implementations of {@code CharSink} methods. * * @author Colin Decker */ @NullUnmarked public class CharSinkTest extends IoTestCase { private static final String STRING = ASCII + I18N; private TestCharSink sink; @Override public void setUp() { sink = new TestCharSink(); } public void testOpenBufferedStream() throws IOException {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.7K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
return NONALPHA.charAt(random.nextInt(NONALPHA.length())); } @Benchmark int asciiStringToUpperCase(int reps) { String string = noWorkToDo ? Ascii.toUpperCase(testString) : testString; int dummy = 0; for (int i = 0; i < reps; i++) { dummy += Ascii.toUpperCase(string).length(); } return dummy; } @Benchmark int asciiCharSequenceToUpperCase(int reps) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.8K bytes - Click Count (0) -
tests/test_security_http_basic_realm.py
assert response.json() == {"detail": "Not authenticated"} def test_security_http_basic_non_basic_credentials(): payload = b64encode(b"johnsecret").decode("ascii") auth_header = f"Basic {payload}" response = client.get("/users/me", headers={"Authorization": auth_header}) assert response.status_code == 401, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.7K bytes - Click Count (0)