- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for ISO_8859_1 (0.15 sec)
-
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ReproduciblePropertiesWriter.kt
* * See [PropertiesUtils.store]. */ fun store(properties: Properties, file: File, comment: String? = null) { PropertiesUtils.store(properties, file, comment, Charsets.ISO_8859_1, "\n") } private fun propertiesFrom(data: Map<String, Any>): Properties = Properties().apply { putAll(data.map { (key, value) -> key to value.toString() }) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharsetsTest.java
assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testIso88591() { assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1); } public void testUtf8() { assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testUtf16be() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu May 04 09:41:29 UTC 2023 - 2.5K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 02 09:17:07 UTC 2023 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java
DataInput in = new DataInputStream(new ByteArrayInputStream(data)); /* Read in various values NORMALLY */ byte[] b = new byte[6]; in.readFully(b); assertEquals("r\u00C9sum\u00C9".getBytes(Charsets.ISO_8859_1), b); } @SuppressWarnings("deprecation") // testing a deprecated method public void testWriteBytes_discardHighOrderBytes() throws IOException { /* Write out various test values in LITTLE ENDIAN FORMAT */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java
DataInput in = new DataInputStream(new ByteArrayInputStream(data)); /* Read in various values NORMALLY */ byte[] b = new byte[6]; in.readFully(b); assertEquals("r\u00C9sum\u00C9".getBytes(Charsets.ISO_8859_1), b); } @SuppressWarnings("deprecation") // testing a deprecated method public void testWriteBytes_discardHighOrderBytes() throws IOException { /* Write out various test values in LITTLE ENDIAN FORMAT */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.7K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt
PropertiesUtils.store( properties, libraryVersionFile.get().asFile, "Generated file, please do not edit - Version values used in build-init templates", Charsets.ISO_8859_1, "\n" ) } private fun findLatest(name: String, notation: String, dest: Properties) { val libDependencies = arrayOf(project.dependencies.create(notation))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 19 11:19:07 UTC 2023 - 5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/FilterChainTest.java
assertThat(IOUtils.toString(transformedReader), equalTo("[1][2][3]")); } @Test public void canFilterUsingISO88591() throws IOException { canFilterUsingCharset("ISO_8859_1"); } @Test public void canFilterUsingUTF8() throws IOException { canFilterUsingCharset("UTF8"); } private void canFilterUsingCharset(String charset) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jul 20 13:25:37 UTC 2021 - 6.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FormBodyTest.kt
buffer.skip(3) // Skip "a=b" prefix. return buffer.readUtf8(buffer.size - 1) // Skip the "c" suffix. } @Test fun manualCharset() { val body = FormBody.Builder(StandardCharsets.ISO_8859_1) .add("name", "Nicolás") .build() val expected = "name=Nicol%E1s" assertThat(body.contentLength()).isEqualTo(expected.length.toLong()) val out = Buffer() body.writeTo(out)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.8K bytes - Viewed (0)