Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 241 for because (0.23 sec)

  1. cmd/os-reliable.go

    			// Retry only for the first retryable error.
    			if osIsNotExist(err) && i == 0 {
    				i++
    				// Determine if os.NotExist error is because of
    				// baseDir's parent being present, retry it once such
    				// that the MkdirAll is retried once for the parent
    				// of dirPath.
    				// Because it is worth a retry to skip a different
    				// baseDir which is slightly higher up the depth.
    				nbaseDir := path.Dir(baseDir)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. build-logic-commons/build-platform/build.gradle.kts

            api("com.uwyn:jhighlight:1.0")
            api("com.vladsch.flexmark:flexmark-all:0.34.60") {
                because("Higher versions tested are either incompatible (0.62.2) or bring additional unwanted dependencies (0.36.8)")
            }
            api("org.apache.pdfbox:pdfbox:2.0.24") {
                because("Flexmark 0.34.60 brings in a vulnerable version of pdfbox")
            }
            api("com.google.code.findbugs:jsr305:3.0.2")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 05:34:03 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
        }
    
        final boolean wasInterrupted;
        @CheckForNull final Throwable cause;
    
        Cancellation(boolean wasInterrupted, @CheckForNull Throwable cause) {
          this.wasInterrupted = wasInterrupted;
          this.cause = cause;
        }
      }
    
      /** A special value that encodes the 'setFuture' state. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. cmd/bucket-policy.go

    	data, err := json.Marshal(bucketPolicy)
    	if err != nil {
    		// This should not happen because bucketPolicy is valid to convert to JSON data.
    		return nil, err
    	}
    
    	var policyInfo miniogopolicy.BucketAccessPolicy
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err = json.Unmarshal(data, &policyInfo); err != nil {
    		// This should not happen because data is valid to JSON data.
    		return nil, err
    	}
    
    	return &policyInfo, nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  5. build-logic/buildquality/build.gradle.kts

        implementation(kotlin("gradle-plugin"))
        implementation(kotlin("compiler-embeddable") as String) {
            because("Required by IncubatingApiReportTask")
        }
        implementation("com.gradle:develocity-gradle-plugin") {
            because("Arch-test plugin configures the PTS extension")
        }
    
        testImplementation("org.junit.jupiter:junit-jupiter-engine")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 03 13:29:44 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableMap.java

      @VisibleForTesting final transient @Nullable Object[] alternatingKeysAndValues;
      private final transient int size;
    
      /*
       * We have some considerable complexity in these create methods because of
       * Builder.buildKeepingLast(). The same Builder might be called with buildKeepingLast() and then
       * buildOrThrow(), or vice versa. So in particular, if we modify alternatingKeysAndValues to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/response-model.md

    ```Python hl_lines="8  10-11"
    {!> ../../../docs_src/response_model/tutorial003_02.py!}
    ```
    
    This simple case is handled automatically by FastAPI because the return type annotation is the class (or a subclass) of `Response`.
    
    And tools will also be happy because both `RedirectResponse` and `JSONResponse` are subclasses of `Response`, so the type annotation is correct.
    
    ### Annotate a Response Subclass
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

          closeLater(ErrorCode.CANCEL)
          connection.sendDegradedPingLater()
        }
    
        override fun newTimeoutException(cause: IOException?): IOException {
          return SocketTimeoutException("timeout").apply {
            if (cause != null) {
              initCause(cause)
            }
          }
        }
    
        @Throws(IOException::class)
        fun exitAndThrowIfTimedOut() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  9. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		{ // supplying valid pod name retrieves Envoy config (fails because we don't check in Envoy config unit tests)
    			execClientConfig: loggingConfig,
    			args:             strings.Split("clusters httpbin-794b576b6c-qx6pf", " "),
    			expectedString:   `config dump has no configuration type`,
    			wantException:    true,
    		},
    		{ // supplying valid pod name retrieves Envoy config (fails because we don't check in Envoy config unit tests)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/generate-clients.md

    ItemsService.createItemItemsPost({name: "Plumbus", price: 5})
    ```
    
    ...that's because the client generator uses the OpenAPI internal **operation ID** for each *path operation*.
    
    OpenAPI requires that each operation ID is unique across all the *path operations*, so FastAPI uses the **function name**, the **path**, and the **HTTP method/operation** to generate that operation ID, because that way it can make sure that the operation IDs are unique.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top