- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 109 for substring (0.04 sec)
-
src/main/java/jcifs/smb1/smb1/SmbTransport.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
assertTrue(s.startsWith("SmbComLogoffAndX["), "expected prefix " + "SmbComLogoffAndX[" + " but got " + s); assertTrue(s.endsWith("]"), "expected suffix ] but got " + s); String inner = s.substring("SmbComLogoffAndX[".length(), s.length() - 1); assertFalse(inner.isEmpty(), "inner part of toString should not be empty"); } @Test @DisplayName("constructor sets correct command value")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
lib/wasm/wasm_exec.js
writeSync(fd, buf) { outputBuf += decoder.decode(buf); const nl = outputBuf.lastIndexOf("\n"); if (nl != -1) { console.log(outputBuf.substring(0, nl)); outputBuf = outputBuf.substring(nl + 1); } return buf.length; }, write(fd, buf, offset, length, position, callback) { if (offset !== 0 || length !== buf.length || position !== null) { callback(enosys());
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Sun Dec 08 15:34:47 UTC 2024 - 16.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
private String getFileName(final String resourceName) { final String name = resourceName.replaceAll("/+$", ""); final int pos = name.lastIndexOf('/'); if (pos >= 0) { return name.substring(pos + 1); } return name; } /** * Sets the office manager for document conversion. * * @param officeManager the office manager to set */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
logger.info("Set document limitPercentage: {}", limitPercentage); } if (limitPercentage.endsWith("%")) { this.limitPercentage = Integer.parseInt(limitPercentage.substring(0, limitPercentage.length() - 1)); } else { this.limitPercentage = Integer.parseInt(limitPercentage); } if (this.limitPercentage > 100) { this.limitPercentage = 100;
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
TestNetbiosName(String name, int type, String scope) { // Ensure names are uppercase and limited to 15 characters this.name = name != null && name.length() > 15 ? name.substring(0, 15).toUpperCase() : (name != null ? name.toUpperCase() : ""); this.type = type; this.scope = scope; } @Override public String getName() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
when(mockInetAddress.getHostName()).thenReturn("h.ostname"); UniAddress uniAddress = new UniAddress(mockInetAddress); // Dot at position 1, which is NOT > 1, so it doesn't substring, just uppercase assertEquals("H.OSTNAME", uniAddress.firstCalledName()); } } @Nested @DisplayName("nextCalledName method tests") class NextCalledNameTests {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
String clean = s.replaceAll("[^0-9A-Fa-f]", ""); int len = clean.length(); byte[] out = new byte[len / 2]; for (int i = 0; i < len; i += 2) { out[i / 2] = (byte) Integer.parseInt(clean.substring(i, i + 2), 16); } return out; } @Test @DisplayName("getNTHash: known vector for 'password'") void testGetNTHash_knownVector() { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
src/main/java/jcifs/smb1/UniAddress.java
uhe = new UnknownHostException(nnfe.getMessage()); } int dot = name.indexOf('.'); if (dot == -1) break; name = name.substring(dot + 1); } } catch (NamingException ne) { if (log.level > 1) ne.printStackTrace(log); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
} catch (final SmbException se) { fp = 0L; } } if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) { file.unc = file.unc.substring(5); file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse()); } file.open(openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0)