Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 1,269 for Config (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/config/bool-flag_test.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package config
    
    import (
    	"testing"
    )
    
    // Test BoolFlag.String()
    func TestBoolFlagString(t *testing.T) {
    	var bf BoolFlag
    
    	testCases := []struct {
    		flag           BoolFlag
    		expectedResult string
    	}{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.5K bytes
    - Click Count (0)
  2. fastapi/_compat/v2.py

                    Field(**field_dict["attributes"]),
                )
                self._type_adapter: TypeAdapter[Any] = TypeAdapter(
                    Annotated[annotated_args],  # ty: ignore[invalid-type-form]
                    config=self.config,
                )
    
        def get_default(self) -> Any:
            if self.field_info.is_required():
                return Undefined
            return self.field_info.get_default(call_default_factory=True)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  3. internal/config/crypto_test.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package config
    
    import (
    	"bytes"
    	"encoding/hex"
    	"io"
    	"testing"
    
    	"github.com/minio/minio/internal/kms"
    )
    
    var encryptDecryptTests = []struct {
    	Data    []byte
    	Context kms.Context
    }{
    	{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. buildscripts/verify-healing.sh

    set -o pipefail
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    GOPATH=/tmp/gopath
    
    function start_minio_3_node() {
    	for i in $(seq 1 3); do
    		rm "${WORK_DIR}/dist-minio-server$i.log"
    	done
    
    	export MINIO_ROOT_USER=minio
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 4K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/settings.md

    在某些情况下,从依赖项中提供设置可能更有用,而不是在所有地方都使用一个全局的 `settings` 对象。
    
    这在测试期间尤其有用,因为可以很容易地用你自己的自定义设置覆盖依赖项。
    
    ### 配置文件 { #the-config-file }
    
    延续上一个示例,你的 `config.py` 文件可能如下所示:
    
    {* ../../docs_src/settings/app02_an_py310/config.py hl[10] *}
    
    注意,现在我们不再创建默认实例 `settings = Settings()`。
    
    ### 主应用文件 { #the-main-app-file }
    
    现在我们创建一个依赖项,返回一个新的 `config.Settings()`。
    
    {* ../../docs_src/settings/app02_an_py310/main.py hl[6,12:13] *}
    
    /// tip | 提示
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  6. cmd/bucket-replication.go

    	}
    }
    
    type replicationConfig struct {
    	Config  *replication.Config
    	remotes *madmin.BucketTargets
    }
    
    func (c replicationConfig) Empty() bool {
    	return c.Config == nil
    }
    
    func (c replicationConfig) Replicate(opts replication.ObjectOpts) bool {
    	return c.Config.Replicate(opts)
    }
    
    // Resync returns true if replication reset is requested
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  7. cmd/lock-rest-server-common_test.go

    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("unable initialize config file, %s", err)
    	}
    
    	locker := &lockRESTServer{
    		ll: &localLocker{
    			mutex:   sync.Mutex{},
    			lockMap: make(map[string][]lockRequesterInfo),
    		},
    	}
    	creds := globalActiveCred
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. docs/throttle/README.md

    ```sh
    export MINIO_API_REQUESTS_MAX=1600
    export MINIO_ROOT_USER=your-access-key
    export MINIO_ROOT_PASSWORD=your-secret-key
    minio server http://server{1...8}/mnt/hdd{1...16}
    ```
    
    or
    
    ```sh
    mc admin config set myminio/ api requests_max=1600
    mc admin service restart myminio/
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 16 08:43:49 GMT 2024
    - 1.5K bytes
    - Click Count (1)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            class TestSmb2ReadResponse extends Smb2ReadResponse {
                boolean errorResponseCalled = false;
    
                TestSmb2ReadResponse(Configuration config, byte[] outputBuffer, int outputBufferOffset) {
                    super(config, outputBuffer, outputBufferOffset);
                }
    
                @Override
                protected int readErrorResponse(byte[] buf, int bufIndex) throws SMBProtocolDecodingException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. build-tools-internal/src/integTest/resources/org/elasticsearch/gradle/fake_elasticsearch.tar.gz

    fake_elasticsearch.tar elasticsearch-1.2.3/config/jvm.options ## JVM configuration ########## ## IMPORTANT: JVM heap size ########## ## ## You should always set the min and max JVM heap ## size to the same value. For example, to set ## the heap to 4 GB, set: ## ## -Xms4g ## -Xmx4g ## ## See https://www.elastic.co/guide/en/elasticsearch/reference/current/heap-size.html ## for more information ## ########## # Xms represents the initial size of total heap space # Xmx represents the maximum size of...
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.1K bytes
    - Click Count (0)
Back to Top