Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 122 for scfg (0.03 seconds)

  1. internal/config/compress/legacy.go

    func SetCompressionConfig(s config.Config, cfg Config) {
    	if !cfg.Enabled {
    		// No need to save disabled settings in new config.
    		return
    	}
    	s[config.CompressionSubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   Extensions,
    			Value: strings.Join(cfg.Extensions, config.ValueSeparator),
    		},
    		config.KV{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Sep 06 17:37:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. 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");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/netbios/NodeStatusRequest.java

     */
    
    package jcifs.netbios;
    
    import jcifs.Configuration;
    
    class NodeStatusRequest extends NameServicePacket {
    
        NodeStatusRequest(final Configuration cfg, final Name name) {
            super(cfg);
            this.questionName = name;
            this.questionType = NBSTAT;
            this.isRecurDesired = false;
            this.isBroadcast = false;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/ntlmssp/av/AvSingleHost.java

            super(AvPair.MsvAvSingleHost, raw);
        }
    
        /**
         * Constructs an AvSingleHost using configuration settings
         *
         * @param cfg the configuration containing machine ID
         */
        public AvSingleHost(final Configuration cfg) {
            this(new byte[8], cfg.getMachineId());
        }
    
        /**
         * Constructs an AvSingleHost with custom data and machine ID
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. cmd/bucket-versioning-handler.go

    			Description:    "Cluster replication is enabled on this site, versioning cannot be suspended on bucket.",
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    		return
    	}
    
    	if rcfg, _ := globalBucketObjectLockSys.Get(bucket); rcfg.LockEnabled && (v.Suspended() || v.PrefixesExcluded()) {
    		writeErrorResponse(ctx, w, APIError{
    			Code:           "InvalidBucketState",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 5K bytes
    - Click Count (0)
  6. internal/config/lambda/config.go

    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize lambda config.
    func NewConfig() Config {
    	// Make sure to initialize lambda targets
    	cfg := Config{
    		Webhook: make(map[string]target.WebhookArgs),
    	}
    	cfg.Webhook[defaultTarget] = target.WebhookArgs{}
    	return cfg
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.3K bytes
    - Click Count (0)
  7. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/BadWordService.java

         */
        public void exportCsv(final Writer writer) {
            final CsvConfig cfg = new CsvConfig(',', '"', '"');
            cfg.setEscapeDisabled(false);
            cfg.setQuoteDisabled(false);
            @SuppressWarnings("resource")
            final CsvWriter csvWriter = new CsvWriter(writer, cfg);
            try {
                final List<String> list = new ArrayList<>();
                list.add("BadWord");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. cmd/tier-handlers.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL)
    		return
    	}
    
    	var cfg madmin.TierConfig
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err := json.Unmarshal(reqBytes, &cfg); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	var ignoreInUse bool
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Sep 12 20:44:05 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  10. cmd/metacache-entries.go

    				}
    				afterV = ""
    			}
    
    			for _, version := range fiVersions {
    				if !version.VersionPurgeStatus().Empty() {
    					continue
    				}
    				versioned := vcfg != nil && vcfg.Versioned(entry.name)
    				versions = append(versions, version.ToObjectInfo(bucket, entry.name, versioned))
    			}
    
    			continue
    		}
    
    		if entry.isDir() {
    			if delimiter == "" {
    				continue
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
Back to Top