Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 100 for DROP (0.05 sec)

  1. docs_src/app_testing/app_b_an_py310/test_main.py

        }
    
    
    def test_create_item_bad_token():
        response = client.post(
            "/items/",
            headers={"X-Token": "hailhydra"},
            json={"id": "bazz", "title": "Bazz", "description": "Drop the bazz"},
        )
        assert response.status_code == 400
        assert response.json() == {"detail": "Invalid X-Token header"}
    
    
    def test_create_existing_item():
        response = client.post(
            "/items/",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    		t.Fatalf("Failed to drop view, got %v", err)
    	}
    
    	query = DB.Model(&User{}).Where("age > ?", 20)
    	if err := DB.Migrator().CreateView("users_view", gorm.ViewOption{Query: query}); err != nil {
    		t.Fatalf("Failed to crate view, got %v", err)
    	}
    	if err := DB.Migrator().DropView("users_view"); err != nil {
    		t.Fatalf("Failed to drop view, got %v", err)
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  3. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

    }
    
    class IanaSuites(
      val name: String,
      val suites: List<SuiteId>,
    ) {
      fun fromJavaName(javaName: String): SuiteId {
        return suites.firstOrNull {
          it.name == javaName || it.name == "TLS_${javaName.drop(4)}"
        } ?: throw IllegalArgumentException("No such suite: $javaName")
      }
    }
    
    suspend fun fetchIanaSuites(okHttpClient: OkHttpClient): IanaSuites {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. README.md

        <version>2.1.34</version>
    </dependency>
    ```
    
    ## Changes
    
     * SMB2 (2.02 protocol level) support, some SMB3 support
     * Remove global state
     * Allow per context configuration
     * Logging through SLF4J
     * Drop pre-java 1.7 support
     * Unify authentication subsystem, NTLMSSP/Kerberos support
     * Large ReadX/WriteX support
     * Streaming list operations
     * NtTransNotifyChange support
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed May 10 09:29:34 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. docs_src/app_testing/app_b/test_main.py

        }
    
    
    def test_create_item_bad_token():
        response = client.post(
            "/items/",
            headers={"X-Token": "hailhydra"},
            json={"id": "bazz", "title": "Bazz", "description": "Drop the bazz"},
        )
        assert response.status_code == 400
        assert response.json() == {"detail": "Invalid X-Token header"}
    
    
    def test_create_existing_item():
        response = client.post(
            "/items/",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. docs_src/app_testing/app_b_an_py39/test_main.py

        }
    
    
    def test_create_item_bad_token():
        response = client.post(
            "/items/",
            headers={"X-Token": "hailhydra"},
            json={"id": "bazz", "title": "Bazz", "description": "Drop the bazz"},
        )
        assert response.status_code == 400
        assert response.json() == {"detail": "Invalid X-Token header"}
    
    
    def test_create_existing_item():
        response = client.post(
            "/items/",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/MapRetrievalCache.java

      }
    
      private void addToCache(K key, V value) {
        addToCache(new CacheEntry<K, V>(key, value));
      }
    
      private void addToCache(CacheEntry<K, V> entry) {
        // Slide new entry into first cache position. Drop previous entry in second cache position.
        cacheEntry2 = cacheEntry1;
        cacheEntry1 = entry;
      }
    
      private static final class CacheEntry<K, V> {
        final K key;
        final V value;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_2x.md

        calling thread.
     *  Fix: Don't log gzipped data in the logging interceptor.
     *  Fix: Don't resolve DNS addresses when connecting through a SOCKS proxy.
     *  Fix: Drop the synthetic `OkHttp-Selected-Protocol` response header.
     *  Fix: Support 204 and 205 'No Content' replies in the logging interceptor.
     *  New: Add `Call.isExecuted()`.
    
    
    ## Version 2.6.0
    
    _2015-11-22_
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

            // No mutations should be possible after this point
            if (allAddresses.isEmpty()) {
              val first = allExceptions.firstOrNull() ?: UnknownHostException("No results for $hostname")
    
              allExceptions.drop(1).forEach {
                first.addSuppressed(it)
              }
    
              throw first
            }
    
            allAddresses
          }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/MapRetrievalCache.java

      }
    
      private void addToCache(K key, V value) {
        addToCache(new CacheEntry<K, V>(key, value));
      }
    
      private void addToCache(CacheEntry<K, V> entry) {
        // Slide new entry into first cache position. Drop previous entry in second cache position.
        cacheEntry2 = cacheEntry1;
        cacheEntry1 = entry;
      }
    
      private static final class CacheEntry<K, V> {
        final K key;
        final V value;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.2K bytes
    - Viewed (0)
Back to top