- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 526 for getByte (0.14 seconds)
-
android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
buffer.putChar(input.charAt(i)); } return hashBytes(buffer.array()); } @Override public HashCode hashString(CharSequence input, Charset charset) { return hashBytes(input.toString().getBytes(charset)); } @Override public abstract HashCode hashBytes(byte[] input, int off, int len); @Override public HashCode hashBytes(ByteBuffer input) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 04 15:39:10 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java
int type; String commentOrMasterBrowser; @Override public String getName() { return this.name; } @Override public int getType() { return (this.type & 0x80000000) != 0 ? SmbConstants.TYPE_WORKGROUP : SmbConstants.TYPE_SERVER; } @Override public int getAttributes() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
byte[] buffer = new byte[50]; int used = cmd.writeBytesWireFormat(buffer, 0); // Calculate expected size: 1 byte for command + string bytes + 1 null terminator byte[] expectedString = "testfile.txt".getBytes("windows-1252"); assertEquals(1 + expectedString.length + 1, used, "Expected exactly one command byte plus OEM string and NUL terminator");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
final Map<String, Object> map = new HashMap<>(); final String name = filePath.getFileName().toString(); map.put("id", Base64.getUrlEncoder().encodeToString(name.getBytes(StandardCharsets.UTF_8))); map.put("name", name); try { map.put("lastModified", new Date(Files.getLastModifiedTime(filePath).toMillis()));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
*/ public byte[] getFileId() { return Arrays.copyOf(fileId, 16); } /** * Get the handle type * @return the handle type */ public HandleType getType() { return type; } /** * Get the timeout * @return the timeout in milliseconds */ public long getTimeout() { return timeout; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 5.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
logger.warn("Symlink traversal detected: url={}, realParent={}, realBase={}", url, realParent, realBase); return; } final byte[] bytes = content.getBytes(StandardCharsets.UTF_8); try (OutputStream out = Files.newOutputStream(filePath, StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING, LinkOption.NOFOLLOW_LINKS)) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java
* a modular-<abbr>JAR</abbr> if it is intended to be placed on the module path, * a <abbr>JAR</abbr> containing test classes, a POM file, <i>etc.</i> */ @Nonnull Type getType(); /** * {@return the time at which the dependency will be used} * It may be, for example, at compile time only, at run time, or at test time. */ @Nonnull DependencyScope getScope();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 05 14:29:21 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java
if (content != null) { resource.setContentLength(content.length()); resource.setLastModified(System.currentTimeMillis()); inputData.setInputStream(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8))); } else { throw new ResourceDoesNotExistException("No content provided for " + resource.getName()); } } @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/DictionaryCreator.java
* * @param path the file path to encode * @return the Base64 encoded path */ protected String encodePath(final String path) { return Base64.getUrlEncoder().encodeToString(path.getBytes(Constants.CHARSET_UTF_8)); } /** * Checks if the given path matches this creator's pattern. * * @param path the file path to checkCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/BadWordTests.java
// Upload CSV Response response = given().header("Authorization", getTestToken()) .multiPart("file", "badwords.csv", csvContent.getBytes()) .when() .put(getApiPath() + "/upload"); int statusCode = response.getStatusCode(); // Accept either 200 (success) or other status codes based on implementationCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4.1K bytes - Click Count (0)