- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 225 for SetBytes (0.22 sec)
-
src/main/java/org/codelibs/fess/helper/CurlHelper.java
final String value = username + ":" + password; final String basicAuth = "Basic " + java.util.Base64.getEncoder().encodeToString(value.getBytes(StandardCharsets.UTF_8)); request.header("Authorization", basicAuth); } if (sslSocketFactory != null) { request.sslSocketFactory(sslSocketFactory); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
super.setUp(); final File propFile = File.createTempFile("project", ".properties"); propFile.deleteOnExit(); FileUtil.writeBytes(propFile.getAbsolutePath(), "fess.version=98.76.5".getBytes()); final File desginJspRootFile = File.createTempFile("jsp", ""); desginJspRootFile.delete(); desginJspRootFile.deleteOnExit(); systemHelper = new SystemHelper() { @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
Encdec.enc_uint32le(len + 1, buf, i); i += 4; Encdec.enc_uint32le(0, buf, i); i += 4; Encdec.enc_uint32le(len + 1, buf, i); i += 4; try { System.arraycopy(s.getBytes("UTF-16LE"), 0, buf, i, len * 2); } catch( UnsupportedEncodingException uee ) { } i += len * 2; buf[i++] = (byte)'\0'; buf[i++] = (byte)'\0'; advance(i - index);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 6.1K 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(ISO_8859_1), b); } @SuppressWarnings("deprecation") // testing a deprecated method public void testWriteBytes_discardHighOrderBytes() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4.7K 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(ISO_8859_1), b); } @SuppressWarnings("deprecation") // testing a deprecated method public void testWriteBytes_discardHighOrderBytes() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
if ( this.fileName == null ) { SMBUtil.writeInt2(0, dst, fnOffsetOffset); SMBUtil.writeInt2(0, dst, fnLengthOffset); } else { byte[] fnBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE); SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, fnOffsetOffset); SMBUtil.writeInt2(fnBytes.length, dst, fnLengthOffset);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 10:41:31 UTC 2021 - 6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java
* * @return the byte array if operation succeeded, {@code null} if source does not exist. * @throws RuntimeException If failed (and not due source not exists). */ @Nonnull Optional<byte[]> getBytes(@Nonnull URI relativeSource); /** * GETs the source URI content as string. The source MUST BE relative from the {@link RemoteRepository#getUrl()} * root. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
Encdec.enc_doublebe( v, tmp, 0 ); write( tmp, 0, 8 ); } public final void writeBytes( String s ) throws SmbException { byte[] b = s.getBytes(); write( b, 0, b.length ); } public final void writeChars( String s ) throws SmbException { int clen = s.length(); int blen = 2 * clen; byte[] b = new byte[blen];
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java
try { final BufferedInputStream bis = new BufferedInputStream(in); final String enc = getEncoding(bis); final String content = UNESCAPE_HTML4.translate(new String(InputStreamUtil.getBytes(bis), enc)); return createExtractData(content); } catch (final Exception e) { throw new ExtractException(e); } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.5K bytes - Viewed (0)