Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,554 for _config (0.35 sec)

  1. tests/joins_test.go

    	}
    
    	CheckUser(t, user2, user)
    }
    
    func TestJoinsForSlice(t *testing.T) {
    	users := []User{
    		*GetUser("slice-joins-1", Config{Company: true, Manager: true, Account: true}),
    		*GetUser("slice-joins-2", Config{Company: true, Manager: true, Account: true}),
    		*GetUser("slice-joins-3", Config{Company: true, Manager: true, Account: true}),
    	}
    
    	DB.Create(&users)
    
    	var userIDs []uint
    	for _, user := range users {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. docs_src/settings/app03_an_py39/main.py

    from functools import lru_cache
    
    from fastapi import Depends, FastAPI
    from typing_extensions import Annotated
    
    from . import config
    
    app = FastAPI()
    
    
    @lru_cache
    def get_settings():
        return config.Settings()
    
    
    @app.get("/info")
    async def info(settings: Annotated[config.Settings, Depends(get_settings)]):
        return {
            "app_name": settings.app_name,
            "admin_email": settings.admin_email,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 462 bytes
    - Viewed (0)
  3. internal/config/crypto.go

    	if _, err := io.ReadFull(ciphertext, header[:]); err != nil {
    		return nil, err
    	}
    	if header[0] != Version {
    		return nil, fmt.Errorf("config: unknown ciphertext version %d", header[0])
    	}
    	size := binary.LittleEndian.Uint32(header[1:])
    	if size > MaxMetadataSize {
    		return nil, errors.New("config: encryption metadata is too large")
    	}
    
    	var (
    		metadataBuffer = make([]byte, size)
    		metadata       encryptedObject
    	)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

    import org.codelibs.fess.es.config.exbhv.DataConfigBhv;
    import org.codelibs.fess.es.config.exbhv.FailureUrlBhv;
    import org.codelibs.fess.es.config.exbhv.FileConfigBhv;
    import org.codelibs.fess.es.config.exbhv.WebConfigBhv;
    import org.codelibs.fess.es.config.exentity.CrawlingConfig;
    import org.codelibs.fess.es.config.exentity.CrawlingConfig.ConfigName;
    import org.codelibs.fess.es.config.exentity.CrawlingConfig.ConfigType;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. internal/config/compress/help.go

    package compress
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for compress feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         config.Enable,
    			Description: "Enable or disable object compression",
    			Type:        "on|off",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. cni/pkg/util/pluginutil.go

    	}
    
    	return cniConfigMap, nil
    }
    
    // Given an unmarshalled CNI config JSON map, return the plugin list asserted as a []interface{}
    func GetPlugins(cniConfigMap map[string]any) (plugins []any, err error) {
    	plugins, ok := cniConfigMap["plugins"].([]any)
    	if !ok {
    		err = fmt.Errorf("error reading plugin list from CNI config")
    		return
    	}
    	return
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. internal/config/compress/compress.go

    )
    
    // DefaultKVS - default KV config for compression settings
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   AllowEncrypted,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   Extensions,
    			Value: DefaultExtensions,
    		},
    		config.KV{
    			Key:   MimeTypes,
    			Value: DefaultMimeTypes,
    		},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.17.md

    * kube-apiserver: The `AdmissionConfiguration` type accepted by `--admission-control-config-file` has been promoted to `apiserver.config.k8s.io/v1` with no schema changes. ([#85098](https...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Jan 28 10:44:33 UTC 2021
    - 346.2K bytes
    - Viewed (1)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java

        }
    
        @Override
        public Optional<String> configTemplate() {
            return Optional.empty();
        }
    
        @Override
        public String handle(String config) throws SecDispatcherException {
            if (NAME.equals(config)) {
                try {
                    return prompter.promptForPassword("Enter the master password: ");
                } catch (PrompterException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

    public class TransTransactNamedPipeResponse extends SmbComTransactionResponse {
    
        private final byte[] outputBuffer;
    
    
        /**
         * @param config
         * @param inB
         */
        public TransTransactNamedPipeResponse ( Configuration config, byte[] inB ) {
            super(config);
            this.outputBuffer = inB;
        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 2.5K bytes
    - Viewed (0)
Back to top