Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for cfg (0.01 sec)

  1. cmd/admin-handlers-config-kv.go

    		return
    	}
    
    	cfg, err := readServerConfig(ctx, objectAPI, nil)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	if err = cfg.DelFrom(bytes.NewReader(kvBytes)); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	if err = validateConfig(ctx, cfg, subSys); err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            SmbFileHandleImpl hA = id1 != null ? new SmbFileHandleImpl(cfg, id1, tA, "//eq/a", 0, 0, 0, 0, 0L)
                    : new SmbFileHandleImpl(cfg, 33, tA, "//eq/a", 0, 0, 0, 0, 0L);
    
            SmbFileHandleImpl hB = id2 != null ? new SmbFileHandleImpl(cfg, id2, tB, "//eq/b", 0, 0, 0, 0, 0L)
                    : new SmbFileHandleImpl(cfg, 33, tB, "//eq/b", 0, 0, 0, 0, 0L);
    
            if (expectEqual) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. cmd/admin-handlers-idp-config.go

    	var cfgList []madmin.IDPListItem
    	var err error
    	switch idpCfgType {
    	case madmin.OpenidIDPCfg:
    		cfg := globalServerConfig.Clone()
    		cfgList, err = globalIAMSys.OpenIDConfig.GetConfigList(cfg)
    	case madmin.LDAPIDPCfg:
    		cfg := globalServerConfig.Clone()
    		cfgList, err = globalIAMSys.LDAPConfig.GetConfigList(cfg)
    
    	default:
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportImplTest.java

        @Mock
        private Configuration cfg;
        @Mock
        private Address address;
    
        private SmbTransportImpl transport;
    
        @BeforeEach
        void setUp() throws Exception {
            when(ctx.getConfig()).thenReturn(cfg);
            when(cfg.isSigningEnforced()).thenReturn(false);
            when(cfg.getSessionTimeout()).thenReturn(30_000);
            when(cfg.getResponseTimeout()).thenReturn(5_000);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. cmd/tier.go

    			cfg.S3.AccessKey = creds.AccessKey
    			cfg.S3.SecretKey = creds.SecretKey
    		}
    	case madmin.Azure:
    		if creds.SecretKey != "" {
    			cfg.Azure.AccountKey = creds.SecretKey
    		}
    		if creds.AzSP.TenantID != "" {
    			cfg.Azure.SPAuth.TenantID = creds.AzSP.TenantID
    		}
    		if creds.AzSP.ClientID != "" {
    			cfg.Azure.SPAuth.ClientID = creds.AzSP.ClientID
    		}
    		if creds.AzSP.ClientSecret != "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top