Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 251 for drop (0.15 sec)

  1. 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 {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. 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/",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_dataclasses/test_tutorial003.py

            "/authors/foo/items/",
            json=[{"name": "Bar"}, {"name": "Baz", "description": "Drop the Baz"}],
        )
        assert response.status_code == 200
        assert response.json() == {
            "name": "foo",
            "items": [
                {"name": "Bar", "description": None},
                {"name": "Baz", "description": "Drop the Baz"},
            ],
        }
    
    
    def test_get_authors():
        response = client.get("/authors/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. manifests/charts/gateway/templates/deployment.yaml

              securityContext:
              {{- if .Values.containerSecurityContext }}
                {{- toYaml .Values.containerSecurityContext | nindent 12 }}
              {{- else }}
                capabilities:
                  drop:
                  - ALL
                allowPrivilegeEscalation: false
                privileged: false
                readOnlyRootFilesystem: true
                {{- if not (eq .Values.platform "openshift") }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. 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
          }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/files/kube-gateway.yaml

              capabilities:
                drop:
                - ALL
              allowPrivilegeEscalation: false
              privileged: false
              readOnlyRootFilesystem: true
              runAsUser: {{ .ProxyUID | default "1337" }}
              runAsGroup: {{ .ProxyGID | default "1337" }}
              runAsNonRoot: true
            {{- else }}
              capabilities:
                drop:
                - ALL
                add:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 19 15:10:43 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  7. tests/tests_test.go

    	DB.Migrator().DropTable("user_friends", "user_speaks")
    
    	if err = DB.Migrator().DropTable(allModels...); err != nil {
    		log.Printf("Failed to drop table, got error %v\n", err)
    		os.Exit(1)
    	}
    
    	if err = DB.AutoMigrate(allModels...); err != nil {
    		log.Printf("Failed to auto migrate, but got error %v\n", err)
    		os.Exit(1)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  8. 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;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  9. manifests/charts/istio-operator/templates/deployment.yaml

              - --monitoring-port={{ .Values.operator.monitoring.port }}
              securityContext:
                allowPrivilegeEscalation: false
                capabilities:
                  drop:
                  - ALL
                privileged: false
                readOnlyRootFilesystem: true
                runAsNonRoot: true
    {{- if .Values.operator.seccompProfile }}
                seccompProfile:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 25 19:10:42 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  10. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

      private fun skipName(source: Buffer) {
        // 0 - 63 bytes
        var length = source.readByte().toInt()
    
        if (length < 0) {
          // compressed name pointer, first two bits are 1
          // drop second byte of compression offset
          source.skip(1)
        } else {
          while (length > 0) {
            // skip each part of the domain name
            source.skip(length.toLong())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top