- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 342 for getBytes (0.05 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcSetupExtension.java
private final OutputStream delegate; IndentingOutputStream(OutputStream delegate, Object version) { this.delegate = delegate; indent = (" [" + version + "] ").getBytes(StandardCharsets.UTF_8); } @Override public void write(int b) throws IOException { int[] arr = {b}; write(arr, 0, 1); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Aug 18 09:11:28 GMT 2021 - 6.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsTask.java
throw new GradleException("Found invalid file permissions:\n" + String.join("\n", failures)); } outputMarker.getParentFile().mkdirs(); Files.write(outputMarker.toPath(), "done".getBytes("UTF-8")); } @OutputFile public File getOutputMarker() { return outputMarker; } @Internal public abstract ListProperty<FileTree> getSources();
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
private SmbComNegotiateResponse mockNegotiate; @Mock private ServerMessageBlock mockAndX; @Mock private Configuration mockConfig; private static byte[] blobCred() { return "blobdata".getBytes(StandardCharsets.UTF_8); } @BeforeEach void setup() { when(mockContext.getConfig()).thenReturn(mockConfig); when(mockNegotiate.getServerData()).thenReturn(new ServerDataStub()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/MIENameTest.java
} @Test @DisplayName("Parses a valid buffer and exposes fields") void parseValidBuffer() { // Arrange String name = "******@****.***"; byte[] buf = buildBuffer(oidDer(), name.getBytes(StandardCharsets.US_ASCII)); // Act MIEName parsed = new MIEName(buf); // Assert // equals should match case-insensitively for name and equal OIDCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
} else { suite.addTest( suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true)); } } return suite; } static TestSuite suiteForString( ByteSourceFactory factory, String string, String name, String desc) { TestSuite suite = suiteForBytes(factory, string.getBytes(UTF_8), name, desc, true);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
fos.write(getTestContent().getBytes(StandardCharsets.UTF_8)); } // Create a temporary project.properties file for SystemHelper File propFile = File.createTempFile("project", ".properties"); propFile.deleteOnExit(); try (FileOutputStream fos = new FileOutputStream(propFile)) { fos.write("fess.version=1.0.0".getBytes()); } // Initialize SystemHelper
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
} /** * Test constructor with a malformed token (not ASN.1). */ @Test void testConstructorWithMalformedToken() { byte[] malformedToken = "This is not a valid token".getBytes(); assertThrows(PACDecodingException.class, () -> new KerberosToken(malformedToken)); } /** * Test constructor with a token that has an incorrect OID. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java
} File outputMarker = getOutputMarker(); outputMarker.getParentFile().mkdirs(); Files.write(outputMarker.toPath(), "done".getBytes(StandardCharsets.UTF_8)); } @OutputFile public File getOutputMarker() { return new File(projectLayout.getBuildDirectory().getAsFile().get(), "markers/" + getName()); } @InputCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.8K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Hasher.java
*/ @CanIgnoreReturnValue @Override Hasher putUnencodedChars(CharSequence charSequence); /** * Equivalent to {@code putBytes(charSequence.toString().getBytes(charset))}. * * <p><b>Warning:</b> This method, which reencodes the input before hashing it, is useful only for * cross-language compatibility. For other use cases, prefer {@link #putUnencodedChars}, which is
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 5.5K bytes - Click Count (0)