Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1271 - 1280 of 2,698 for creates (0.12 sec)

  1. tests/test_security_oauth2_optional_description.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    reusable_oauth2 = OAuth2(
        flows={
            "password": {
                "tokenUrl": "token",
                "scopes": {"read:users": "Read the users", "write:users": "Create users"},
            }
        },
        description="OAuth2 security scheme",
        auto_error=False,
    )
    
    
    class User(BaseModel):
        username: str
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test create disposition setter")
        void testSetCreateDisposition() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            request.setCreateDisposition(Smb2CreateRequest.FILE_OVERWRITE_IF);
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
            // Read create disposition from buffer (offset 36-39)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestStringMapGenerator() {
                      @Override
                      protected Map<String, String> create(Entry<String, String>[] entries) {
                        Map<String, String> map = CompactHashMap.create();
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringMultisetGenerator.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create multisets of strings for tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringMultisetGenerator implements TestMultisetGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Multiset<String> create(Object... elements) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

          entry ->
              !Objects.equals(entry.getKey(), "badkey") && !Objects.equals(entry.getValue(), 55556);
    
      protected Multimap<String, Integer> create() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("foo", 55556);
        unfiltered.put("badkey", 1);
        return Multimaps.filterEntries(unfiltered, ENTRY_PREDICATE);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java

            void testPropertiesOrderPreservedInImmutableModel() {
                // Create properties with specific insertion order using LinkedHashMap
                Map<String, String> orderedMap = new LinkedHashMap<>();
                orderedMap.put("third", "3");
                orderedMap.put("first", "1");
                orderedMap.put("second", "2");
    
                // Create model and set properties
                Model model = new Model();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 07:26:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. docs/es/docs/environment-variables.md

    Las variables de entorno pueden ser útiles para manejar **configuraciones** de aplicaciones, como parte de la **instalación** de Python, etc.
    
    ## Crear y Usar Variables de Entorno { #create-and-use-env-vars }
    
    Puedes **crear** y usar variables de entorno en la **shell (terminal)**, sin necesidad de Python:
    
    //// tab | Linux, macOS, Windows Bash
    
    <div class="termy">
    
    ```console
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. tests/scanner_valuer_test.go

    		ExampleStruct:    ExampleStruct{"name", "value1"},
    		ExampleStructPtr: &ExampleStruct{"name", "value2"},
    	}
    
    	if err := DB.Create(&data).Error; err == nil {
    		t.Errorf("Should failed to create data with invalid data")
    	}
    
    	data.Password = EncryptedData("pass1")
    	if err := DB.Create(&data).Error; err != nil {
    		t.Errorf("Should got no error when creating data, but got %v", err)
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals(1, notifications.size()); // One empty notification is created
        }
    
        @Test
        @DisplayName("Should handle notification with long filename")
        void testLongFilename() throws Exception {
            // Given
            byte[] buffer = new byte[2048];
            int offset = 0;
    
            setHeaderStart(response, 64);
    
            // Create a long filename
            StringBuilder longName = new StringBuilder();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testRetainAll_duplicatesKept() {
        E[] array = createSamplesArray();
        array[1] = e0();
        collection = getSubjectGenerator().create(array);
        assertFalse(
            "containsDuplicates.retainAll(superset) should return false",
            collection.retainAll(MinimalCollection.of(createSamplesArray())));
        expectContents(array);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top