- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for maxVersions (0.04 sec)
-
internal/config/api/api.go
} if maxVerStr != "" { maxVersions, err := strconv.ParseInt(maxVerStr, 10, 64) if err != nil { return cfg, err } if maxVersions <= 0 { return cfg, fmt.Errorf("invalid object max versions value: %v", maxVersions) } cfg.ObjectMaxVersions = maxVersions } else { cfg.ObjectMaxVersions = math.MaxInt64 } return cfg, nilRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.5K bytes - Viewed (1) -
src/main/java/jcifs/config/PropertyConfiguration.java
String minVersion = props.getProperty("jcifs.smb.client.minVersion"); String maxVersion = props.getProperty("jcifs.smb.client.maxVersion"); if (minVersion != null || maxVersion != null) { initProtocolVersions(minVersion, maxVersion); } // Multi-Channel Configuration value = props.getProperty("jcifs.smb.client.useMultiChannel");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
this.minVersion = min != null ? min : DialectVersion.SMB202; this.maxVersion = max != null ? max : DialectVersion.SMB311; if (this.minVersion.atLeast(this.maxVersion)) { this.maxVersion = this.minVersion; } } /** * Initializes the disallowed compound operations based on the provided property string.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
// Given Properties props = new Properties(); props.setProperty("jcifs.smb.client.minVersion", "SMB1"); props.setProperty("jcifs.smb.client.maxVersion", "SMB311"); // When PropertyConfiguration testConfig = new PropertyConfiguration(props); // Then assertEquals(DialectVersion.SMB1, testConfig.getMinimumVersion());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
void testProtocolVersionDelegation() { // Given DialectVersion minVersion = DialectVersion.SMB1; DialectVersion maxVersion = DialectVersion.SMB311; when(mockDelegate.getMinimumVersion()).thenReturn(minVersion); when(mockDelegate.getMaximumVersion()).thenReturn(maxVersion); // When DialectVersion resultMin = delegatingConfig.getMinimumVersion();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
void testCapabilitiesBasedOnConfig(boolean dfsEnabled, boolean encryptionEnabled, String maxVersion, int expectedCapabilityCount) { // Given when(mockConfig.isDfsDisabled()).thenReturn(!dfsEnabled); when(mockConfig.isEncryptionEnabled()).thenReturn(encryptionEnabled); when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.valueOf(maxVersion)); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
void testWithDifferentConfigurations() throws Exception { // Test with different configuration settings Properties props = new Properties(); props.setProperty("jcifs.smb.client.maxVersion", "SMB302"); Configuration customConfig = new PropertyConfiguration(props); Trans2SetFileInformationResponse customResponse = new Trans2SetFileInformationResponse(customConfig);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
void testInitDefaultsWithPresetProtocolVersions() throws CIFSException { BaseConfiguration testConfig = new BaseConfiguration(false); testConfig.minVersion = DialectVersion.SMB210; testConfig.maxVersion = DialectVersion.SMB300; testConfig.initDefaults(); assertEquals(DialectVersion.SMB210, testConfig.getMinimumVersion()); assertEquals(DialectVersion.SMB300, testConfig.getMaximumVersion());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* @return minimum protocol version to use/allow * @since 2.1 */ DialectVersion getMinimumVersion(); /** * Maximum protocol version * * Property {@code jcifs.smb.client.maxVersion} (string, default SMB210) * * @see DialectVersion * @return maximum protocol version to use/allow * @since 2.1 */ DialectVersion getMaximumVersion(); /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0)