- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for costly (0.17 sec)
-
src/main/java/jcifs/smb1/netbios/Lmhosts.java
/** * This is really just for {@link jcifs.smb1.UniAddress}. It does * not throw an {@link java.net.UnknownHostException} because this * is queried frequently and exceptions would be rather costly to * throw on a regular basis here. * * @param host the hostname to resolve * @return the resolved NbtAddress or null if not found */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
/** * This is really just for {@link jcifs.netbios.UniAddress}. It does * not throw an {@link java.net.UnknownHostException} because this * is queried frequently and exceptions would be rather costly to * throw on a regular basis here. * * @param host the hostname to resolve * @param tc the CIFS context * @return resolved name, null if not found */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
### Creating the `Settings` only once with `lru_cache` { #creating-the-settings-only-once-with-lru-cache } Reading a file from disk is normally a costly (slow) operation, so you probably want to do it only once and then reuse the same settings object, instead of reading it for each request. But every time we do: ```Python Settings() ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
cmd/data-scanner.go
factor float64 // maximum sleep cap, // set to <= 0 to disable. maxSleep time.Duration // Don't sleep at all, if time taken is below this value. // This is to avoid too small costly sleeps. minSleep time.Duration // cycle will be closed cycle chan struct{} // isScanner should be set when this is used by the scanner // to record metrics. isScanner bool }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 45.5K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
import org.bouncycastle.asn1.ASN1ObjectIdentifier; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Unit tests for {@link NegTokenTarg}. The class has no external * collaborators so tests are mostly focused on round‑trip * serialisation and invalid input handling. */ class NegTokenTargTest { @Test @DisplayName("happy path – full token round‑trip") void testRoundTripFull() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
import java.util.Arrays; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.smb1.util.Hexdump; /** * Unit test for {@link Trans2QueryFSInformation}. The class contains mostly * trivial wire-format helpers and a custom {@code toString()} implementation. * All tests are pure unit tests – no network or file system access is * required. */ class Trans2QueryFSInformationTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
} @ParameterizedTest @DisplayName("Message constructor should handle crypto-specific error messages") @NullAndEmptySource @ValueSource(strings = { "AES encryption not supported", "Missing Bouncy Castle provider", "Invalid key length for AES-128", "RC4 cipher not available in this JVM", "DES encryption is deprecated and not supported", "HMAC-SHA256 algorithm not found",
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
constantTimeCopy(encrypted, ciphertext.length, authTag, 0, tagLength); return new EncryptionResult(ciphertext, authTag); } /** * Encrypt using AES-CCM with Bouncy Castle and constant-time operations */ private EncryptionResult encryptWithCCM(byte[] message, byte[] nonce, byte[] associatedData) throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
README.md
## Version [Versions in Maven Repository](https://repo1.maven.org/maven2/org/codelibs/jcifs/) ## Requirements - Java 17 or higher - SLF4J for logging - Bouncy Castle (for SMB3 encryption support) ## Using Maven ```xml <dependency> <groupId>org.codelibs</groupId> <artifactId>jcifs</artifactId> <version>2.1.39</version> </dependency> ```
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
cmd/api-headers.go
// of =?UTF-8?B?w7Y=?=. This mirrors errors like the ä½ in another string. // // S3 uses B-encoding (Base64) for non-ASCII-heavy metadata and Q-encoding // (quoted-printable) for mostly ASCII strings. Long strings are split at word // boundaries to fit RFC 2047’s 75-character limit, ensuring HTTP parser // compatibility. //
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.6K bytes - Viewed (0)