Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3871 - 3880 of 6,918 for RETURN (0.04 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

                return null; // Give up, we've already attempted to authenticate.
              }
    
              System.out.println("Authenticating for response: " + response);
              System.out.println("Challenges: " + response.challenges());
              String credential = Credentials.basic("jesse", "password1");
              return response.request().newBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt

      override fun isSupported(): Boolean = BouncyCastlePlatform.isSupported
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? {
        val s = sslSocket as BCSSLSocket
    
        return when (val protocol = s.applicationProtocol) {
          null, "" -> null
          else -> protocol
        }
      }
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_macros_internal.h

    #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \
      do {                                                                    \
        if (STRUCT_OBJ.struct_size == 0) {                                    \
          return tensorflow::Status(absl::StatusCode::kFailedPrecondition,    \
                                    "Expected initialized `" #STRUCT_NAME     \
                                    "` structure with `struct_size` field "   \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Mar 13 17:40:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy

        }
    
        @Override
        protected boolean changed(JApiCompatibility member) {
            return member instanceof JApiClass && !member.superclass.binaryCompatible && !member.superclass.compatibilityChanges.empty
        }
    
        @Override
        protected Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass) {
            return acceptOrReject(apiClass.superclass, Violation.notBinaryCompatible(apiClass.superclass))
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLog.java

        public boolean isDebugEnabled() {
            return logger.isDebugEnabled();
        }
    
        @Override
        public boolean isInfoEnabled() {
            return logger.isInfoEnabled();
        }
    
        @Override
        public boolean isWarnEnabled() {
            return logger.isWarnEnabled();
        }
    
        @Override
        public boolean isErrorEnabled() {
            return logger.isErrorEnabled();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. docs_src/request_files/tutorial001_03_an.py

    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: Annotated[bytes, File(description="A file read as bytes")]):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(
        file: Annotated[UploadFile, File(description="A file read as UploadFile")],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 431 bytes
    - Viewed (0)
  7. docs_src/separate_openapi_schemas/tutorial001_py310.py

    
    class Item(BaseModel):
        name: str
        description: str | None = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    def create_item(item: Item):
        return item
    
    
    @app.get("/items/")
    def read_items() -> list[Item]:
        return [
            Item(
                name="Portal Gun",
                description="Device to travel through the multi-rick-verse",
            ),
            Item(name="Plumbus"),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 451 bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

       */
      fun formatFlags(
        type: Int,
        flags: Int,
      ): String {
        if (flags == 0) return ""
        when (type) {
          // Special case types that have 0 or 1 flag.
          TYPE_SETTINGS, TYPE_PING -> return if (flags == FLAG_ACK) "ACK" else BINARY[flags]
          TYPE_PRIORITY, TYPE_RST_STREAM, TYPE_GOAWAY, TYPE_WINDOW_UPDATE -> return BINARY[flags]
        }
        val result = if (flags < FLAGS.size) FLAGS[flags]!! else BINARY[flags]
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. cmd/metrics-v3-cluster-usage.go

    	dataUsageInfo, err := c.dataUsageInfo.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    		return nil
    	}
    
    	// data usage has not captured any data yet.
    	if dataUsageInfo.LastUpdate.IsZero() {
    		return nil
    	}
    
    	var (
    		clusterSize               uint64
    		clusterBuckets            uint64
    		clusterObjectsCount       uint64
    		clusterVersionsCount      uint64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:11:42 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top