- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for cfg (0.02 sec)
-
src/main/java/jcifs/smb/SmbFileHandleImpl.java
this.cfg = cfg; this.fileId = fid; this.initialSize = initialSize; this.fid = 0; this.unc = unc; this.flags = flags; this.access = access; this.attrs = attrs; this.options = options; this.tree = tree.acquire(); this.tree_num = tree.getTreeId(); if (cfg.isTraceResourceUsage()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
SmbComLockingAndX copy = new SmbComLockingAndX(cfg); copy.readParameterWordsWireFormat(buf, 0); assertTrue((boolean) getField(copy, "largeFile")); } /** * Test toString covers basic output. */ @Test void toStringInclusion() { Configuration cfg = mock(Configuration.class); SmbComLockingAndX cmd = new SmbComLockingAndX(cfg); setField(cmd, "fid", 42);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
cmd/config-migrate.go
switch cfg.Version { case "29": // V29 -> V30 cfg.Compression.Enabled = false cfg.Compression.Extensions = strings.Split(compress.DefaultExtensions, config.ValueSeparator) cfg.Compression.MimeTypes = strings.Split(compress.DefaultMimeTypes, config.ValueSeparator) case "30": // V30 -> V31 cfg.OpenID = openid.Config{} cfg.Policy.OPA = opa.Args{ URL: &xnet.URL{},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.4K bytes - Viewed (0) -
tests/tests_test.go
dbDSN = sqlserverDSN } db, err = gorm.Open(sqlserver.Open(dbDSN), cfg) case "tidb": log.Println("testing tidb...") if dbDSN == "" { dbDSN = tidbDSN } db, err = gorm.Open(mysql.Open(dbDSN), cfg) default: log.Println("testing sqlite3...") db, err = gorm.Open(sqlite.Open(filepath.Join(os.TempDir(), "gorm.db")), cfg) if err == nil { db.Exec("PRAGMA foreign_keys = ON") } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
this.scope = scope != null && scope.length() > 0 ? scope : cfg.getNetbiosScope(); this.srcHashCode = 0; } /** * Constructs a Name from a NetbiosName. * * @param cfg the configuration to use * @param name the NetbiosName to copy from */ public Name(final Configuration cfg, final NetbiosName name) { this.config = cfg; this.name = name.getName();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
// Verify interactions happen exactly once during construction verify(cfg, times(1)).getBufferCacheSize(); verify(cfg, times(1)).getMaximumBufferSize(); verifyNoMoreInteractions(cfg); // When cache is empty, getBuffer allocates a new buffer with configured size byte[] buf = impl.getBuffer(); assertNotNull(buf, "getBuffer should never return null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
cmd/ilm-config.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Mar 05 02:50:24 UTC 2024 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
Map<String, Object> opts = new HashMap<>(); opts.put("doNotPrompt", "true"); StaticJAASConfiguration cfg = new StaticJAASConfiguration(opts); // Act AppConfigurationEntry[] a1 = cfg.getAppConfigurationEntry("x"); AppConfigurationEntry[] a2 = cfg.getAppConfigurationEntry("y"); // Assert assertNotSame(a1, a2, "Arrays should be different instances");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb/BufferCacheImpl.java
private int freeBuffers = 0; /** * Constructs a buffer cache using configuration settings. * * @param cfg the configuration to use for buffer cache settings */ public BufferCacheImpl(final Configuration cfg) { this(cfg.getBufferCacheSize(), cfg.getMaximumBufferSize()); } /** * Constructs a buffer cache with specified parameters. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
private Smb2LogoffResponse newResponse() { Configuration cfg = Mockito.mock(Configuration.class); return new Smb2LogoffResponse(cfg); } @Test @DisplayName("Constructor accepts a Configuration and creates instance") void constructor_happyPath() { // Arrange Configuration cfg = Mockito.mock(Configuration.class); // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0)