- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 199 for dabc (0.07 seconds)
-
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
String msg = "Alphanumeric characters are always 'safe' and should not be explicitly specified"; IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> new PercentEscaper("-+#abc.!", false)); assertThat(expected).hasMessageThat().isEqualTo(msg); } public void testBadArguments_plusforspace() { // space can be a safe char if plusForSpace is false
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
// These test cases ensure that the new java.util.Base64 implementation // produces the same output as the old custom implementation // Test case 1: Standard padding final byte[] data1 = "abc".getBytes(); assertEquals("YWJj", Base64Util.encode(data1)); // Test case 2: Single padding final byte[] data2 = "abcd".getBytes(); assertEquals("YWJjZA==", Base64Util.encode(data2));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 6K bytes - Click Count (0) -
fastapi/_compat/shared.py
import types import typing import warnings from collections import deque from collections.abc import Mapping, Sequence from dataclasses import is_dataclass from typing import ( Annotated, Any, TypeGuard, TypeVar, Union, get_args, get_origin, ) from fastapi.types import UnionType from pydantic import BaseModel from pydantic.version import VERSION as PYDANTIC_VERSION
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 6.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
assertThat(request.body).isNull() assertThat(request.tags).isEqualTo(EmptyTags) } @Test fun string() { val contentType = "text/plain; charset=utf-8".toMediaType() val body = "abc".toByteArray().toRequestBody(contentType) assertThat(body.contentType()).isEqualTo(contentType) assertThat(body.contentLength()).isEqualTo(3) assertThat(bodyToHex(body)).isEqualTo("616263")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 24.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InternetDomainNameTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 17.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
SMBUtil.writeInt4(1, buffer, notifyOffset + 4); SMBUtil.writeInt4(6, buffer, notifyOffset + 8); // 6 bytes filename System.arraycopy("abc".getBytes("UnicodeLittleUnmarked"), 0, buffer, notifyOffset + 12, 6); // Second notification starts at aligned offset notifyOffset = 108; // 80 + 28 SMBUtil.writeInt4(0, buffer, notifyOffset);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
void isAllDigitsTrueForPureNumeric(String numeric) { assertTrue(UniAddress.isAllDigits(numeric)); } @ParameterizedTest @ValueSource(strings = { "12a", "abc", "123 " }) void isAllDigitsFalseForNonNumeric(String nonNumeric) { assertFalse(UniAddress.isAllDigits(nonNumeric)); } @Test void isAllDigitsHandlesEmptyString() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
fastapi/dependencies/models.py
import inspect import sys from collections.abc import Callable from dataclasses import dataclass, field from functools import cached_property, partial from typing import Any, Literal from fastapi._compat import ModelField from fastapi.security.base import SecurityBase from fastapi.types import DependencyCacheKey if sys.version_info >= (3, 13): # pragma: no cover from inspect import iscoroutinefunction else: # pragma: no cover
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 7.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
public void testReadEmptyString() throws IOException { assertReadsCorrectly(""); } public void testReadsStringsCorrectly() throws IOException { assertReadsCorrectly("abc"); assertReadsCorrectly("abcde"); assertReadsCorrectly("abcdefghijkl"); assertReadsCorrectly( "" + "abcdefghijklmnopqrstuvwxyz\n" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ\r"
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 6.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Ints.java
// smaller version of the same problem. // Say we are rotating abcdefgh by 5. We start with abcde|fgh. The smaller block is [fgh]: // [abc]de|[fgh] -> [fgh]de|[abc]. Now [fgh] is in the right place, but we need to swap [de] // with [abc]: fgh[de]|a[bc] -> fgh[bc]|a[de]. Now we need to swap [a] with [bc]: // fgh[b]c|[a]de -> fgh[a]c|[b]de. Finally we need to swap [c] with [b]:Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 31.3K bytes - Click Count (0)