- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 514 for getByte (0.27 sec)
-
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
void testType1MessageCreation() { // When Type1Message type1 = new Type1Message(mockContext); // Then assertNotNull(type1); // Note: getType() method does not exist in Type1Message assertTrue(type1.getFlags() != 0); // Should have some flags set } @Test @DisplayName("Should create Type 1 message with custom flags")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java
* </ul> * * <p>Example usage:</p> * <pre> * Toolchain toolchain = ...; // Obtain a Toolchain instance * String type = toolchain.getType(); // Get the type of the toolchain * String version = toolchain.getVersion(); // Get the version of the toolchain * </pre> * * * @since 4.0.0 * @see JavaToolchain
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
return true; } return Objects.equals(a1.getGroupId(), a2.getGroupId()) && Objects.equals(a1.getArtifactId(), a2.getArtifactId()) && Objects.equals(a1.getType(), a2.getType()) && Objects.equals(a1.getVersion(), a2.getVersion()) && Objects.equals(a1.getClassifier(), a2.getClassifier()) && Objects.equals(a1.getScope(), a2.getScope())Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 11.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
ArtifactType stereotype = stereotypes.get(dependency.getType()); if (stereotype == null) { stereotype = new DefaultType(dependency.getType(), Language.NONE, dependency.getType(), null, false); } boolean system = dependency.getSystemPath() != null && !dependency.getSystemPath().isEmpty();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Mar 20 22:29:18 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java
*/ @Test void testParseAuthDataPacWithInvalidToken() { // GIVEN an invalid token for AUTH_DATA_PAC byte[] invalidToken = "invalid-pac-token".getBytes(); // WHEN parsing the auth data // THEN a PACDecodingException should be thrown assertThrows(PACDecodingException.class, () -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/InputStreamUtilTest.java
final InputStream is = ResourceUtil.getResourceAsStream(StringUtil.replace(getClass().getName(), ".", "/") + ".class"); try { assertNotNull("1", InputStreamUtil.getBytes(is)); } finally { is.close(); } }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java
/** * Constructs a pipe wait request without timeout. * * @param name the pipe name to wait for */ public FsctlPipeWaitRequest(final String name) { this.nameBytes = name.getBytes(StandardCharsets.UTF_16LE); this.timeoutSpecified = false; this.timeout = 0; } /** * Constructs a pipe wait request with timeout. * * @param name the pipe name to wait forRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
return Stream.of(Arguments.of(new byte[0], ""), Arguments.of(new byte[] { (byte) 0x41 }, "QQ=="), // "A" Arguments.of(new byte[] { (byte) 0x41, (byte) 0x42 }, "QUI="), // "AB" Arguments.of("Man".getBytes(), "TWFu"), // 3 bytes, no padding Arguments.of(new byte[] { (byte) 0x00, (byte) 0x00, (byte) 0x00 }, "AAAA"), // all zeros
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CopyUtilTest.java
} /** * @throws Exception */ @Test public void testFileToFile() throws Exception { int result = copy(inputFile, outputFile); assertThat(result, is(urlString.getBytes("UTF-8").length)); result = copy(outputFile, "UTF-8", writer); assertThat(writer.toString(), is(urlString)); } /** * @throws Exception */ @TestRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
"8, Unknown" }) @DisplayName("getType and getTypeText cover all types") void testGetTypeAndText(int type, String text) { byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 }; SID sid = new SID(buildSidT((byte) 1, ident, 42), type, "DOM", "acct", false); assertEquals(type, sid.getType()); assertEquals(text, sid.getTypeText()); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)