- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 519 for Locale (0.14 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/multi_primary_keys_test.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 13.1K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java
class RemoteSnapshotMetadataTest { private Locale defaultLocale; private static final Pattern DATE_FILTER = Pattern.compile("\\..*"); @BeforeEach void setLocaleToUseBuddhistCalendar() { defaultLocale = Locale.getDefault(); Locale.setDefault(new Locale("th", "TH")); } @AfterEach void restoreLocale() { Locale.setDefault(defaultLocale); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/StringExtensions.kt
* limitations under the License. */ package gradlebuild.basics import java.util.Locale fun String.capitalize(): String = replaceFirstChar { it.uppercase(Locale.US) } fun String.decapitalize(): String =
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Dec 15 07:49:41 GMT 2024 - 839 bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt
} } private fun <T> withLocale( locale: Locale, block: () -> T, ): T { val previous = Locale.getDefault() try { Locale.setDefault(locale) return block() } finally { Locale.setDefault(previous) } } @Test fun testIllegalCharsetName() { val mediaType = parse("text/plain; charset=\"!@#$%^&*()\"")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
} @Test void testLocaleIndependent() { Locale orig = Locale.getDefault(); Locale[] locales = {Locale.ENGLISH, new Locale("tr"), Locale.getDefault()}; try { for (Locale locale : locales) { Locale.setDefault(locale); checkVersionsEqual("1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ"); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 17.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
.toLowerCase(Locale.ENGLISH); String actualOsArch = context.getSystemProperties() .getOrDefault("os.arch", Os.OS_ARCH) .toLowerCase(Locale.ENGLISH); String actualOsVersion = context.getSystemProperties() .getOrDefault("os.version", Os.OS_VERSION) .toLowerCase(Locale.ENGLISH); if (active && os.getFamily() != null) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 5.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java
import java.io.File; import java.util.Locale; import java.util.stream.Stream; /** * OS support * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public class Os { /** * The OS Name. */ public static final String OS_NAME = System.getProperty("os.name").toLowerCase(Locale.ENGLISH); /** * The OA architecture.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 7.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomPointerFactory.java
@Override public int getOrder() { return 200; } @Override public NodePointer createNodePointer(QName name, Object object, Locale locale) { if (object instanceof org.codehaus.plexus.util.xml.Xpp3Dom xpp3Dom) { object = xpp3Dom.getDom(); } if (object instanceof XmlNode xmlNode) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
} private DecimalFormat smallFormat; private DecimalFormat largeFormat; FileSizeFormat(Locale locale) { smallFormat = new DecimalFormat("#0.0", new DecimalFormatSymbols(locale)); largeFormat = new DecimalFormat("###0", new DecimalFormatSymbols(locale)); } public String format(long size) { return format(size, null); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Apr 22 22:13:51 GMT 2025 - 9.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; class FileSizeFormatTest { static Locale original; @BeforeAll static void beforeAll() { original = Locale.getDefault(); Locale.setDefault(Locale.US); } @AfterAll static void afterAll() { Locale.setDefault(original); } @Test void testNegativeSize() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 14.9K bytes - Click Count (0)