Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,988 for true (0.04 sec)

  1. internal/crypto/header_test.go

    	{Header: http.Header{"X-Amz-Server-Side-Encryption": []string{"aws:kms"}}, Expected: true},                                   // 1
    	{Header: http.Header{"X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id": []string{"0839-9047947-844842874-481"}}, Expected: true}, // 2
    	{Header: http.Header{"X-Amz-Server-Side-Encryption-Context": []string{"7PpPLAK26ONlVUGOWlusfg=="}}, Expected: true},          // 3
    	{
    		Header: http.Header{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  2. src/bytes/example_test.go

    	// Output:
    	// true
    	// false
    	// true
    	// true
    }
    
    func ExampleContainsAny() {
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), "fÄo!"))
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), "去是伟大的."))
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), ""))
    	fmt.Println(bytes.ContainsAny([]byte(""), ""))
    	// Output:
    	// true
    	// true
    	// false
    	// false
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. docs_src/sql_databases/tutorial001.py

    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class Hero(SQLModel, table=True):
        id: Union[int, None] = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: Union[int, None] = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. docs_src/sql_databases/tutorial001_py310.py

    from fastapi import Depends, FastAPI, HTTPException, Query
    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class Hero(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: int | None = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

        assertEquals(false, tearDownOne.ran);
        assertEquals(false, tearDownTwo.ran);
    
        stack.runTearDown();
    
        assertEquals("tearDownOne should have run", true, tearDownOne.ran);
        assertEquals("tearDownTwo should have run", true, tearDownTwo.ran);
      }
    
      public void testThrowingTearDown() throws Exception {
        final TearDownStack stack = buildTearDownStack();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/FormBody.kt

                encodeSet = FORM_ENCODE_SET,
                alreadyEncoded = true,
                plusIsSpace = true,
                charset = charset,
              )
            values +=
              value.canonicalizeWithCharset(
                encodeSet = FORM_ENCODE_SET,
                alreadyEncoded = true,
                plusIsSpace = true,
                charset = charset,
              )
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/PropertyConfiguration.java

            this.encryptionEnabled = Config.getBoolean(p, "jcifs.smb.client.encryptionEnabled", false);
            this.requireSecureNegotiate = Config.getBoolean(p, "jcifs.smb.client.requireSecureNegotiate", true);
            this.sendNTLMTargetName = Config.getBoolean(p, "jcifs.smb.client.SendNTLMTargetName", true);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. .github/workflows/run-mint.sh

    export MINT_MODE="full"
    
    docker system prune -f || true
    docker volume prune -f || true
    docker volume rm $(docker volume ls -f dangling=true) || true
    
    ## change working directory
    cd .github/workflows/mint
    
    docker-compose -f minio-${MODE}.yaml up -d
    sleep 1m
    
    docker system prune -f || true
    docker volume prune -f || true
    docker volume rm $(docker volume ls -q -f dangling=true) || true
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

      @SuppressWarnings("deprecation")
      public void testCompareBooleans() {
        assertThat(
                ComparisonChain.start()
                    .compare(true, true)
                    .compare(true, Boolean.TRUE)
                    .compare(Boolean.TRUE, true)
                    .compare(Boolean.TRUE, Boolean.TRUE)
                    .result())
            .isEqualTo(0);
      }
    
      public void testDegenerate() {
        // kinda bogus, but who cares?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. cmd/storage-datatypes_test.go

    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkDecodeDiskInfoMsgp(b *testing.B) {
    	v := DiskInfo{
    		Total:     1000,
    		Free:      1000,
    		Used:      1000,
    		FSType:    "xfs",
    		RootDisk:  true,
    		Healing:   true,
    		Endpoint:  "http://localhost:9001/tmp/drive1",
    		MountPath: "/tmp/drive1",
    		ID:        "uuid",
    		Error:     "",
    	}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
Back to top