Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for kFailure (0.05 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        // incomplete.
        val creator = cache.edit("k1")!!
        creator.newSink(0).buffer().use {
          it.writeUtf8("Hello")
        }
    
        // Simulate a severe Filesystem failure on the first initialization.
        filesystem.setFaultyDelete(cacheDir / "k1.0.tmp", true)
        filesystem.setFaultyDelete(cacheDir, true)
        cache =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    //   and therefore is passed around as a pointer to an opaque
    //   struct as mentioned above.
    // * Every call that has a TF_Status* argument clears it on success
    //   and fills it with error info on failure.
    // * unsigned char is used for booleans (instead of the 'bool' type).
    //   In C++ bool is a keyword while in C99 bool is a macro defined
    //   in stdbool.h. It is possible for the two to be inconsistent.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

        }
    
        @Override
        public void run() {
          if (future instanceof InternalFutureFailureAccess) {
            Throwable failure =
                InternalFutures.tryInternalFastPathGetFailure((InternalFutureFailureAccess) future);
            if (failure != null) {
              callback.onFailure(failure);
              return;
            }
          }
          final V value;
          try {
            value = getDone(future);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Futures.java

        }
    
        @Override
        public void run() {
          if (future instanceof InternalFutureFailureAccess) {
            Throwable failure =
                InternalFutures.tryInternalFastPathGetFailure((InternalFutureFailureAccess) future);
            if (failure != null) {
              callback.onFailure(failure);
              return;
            }
          }
          final V value;
          try {
            value = getDone(future);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  5. cmd/erasure-healing_test.go

    		Recursive: false,
    		Immediate: false,
    	})
    	if err != nil {
    		t.Errorf("Failure during deleting part.1 - %v", err)
    	}
    
    	err = firstDisk.WriteAll(context.Background(), bucket, pathJoin(object, fi.DataDir, "part.1"), []byte{})
    	if err != nil {
    		t.Errorf("Failure during creating part.1 - %v", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    		},
    		// TestXLStorage case - 7.
    		// TestXLStorage to check failure of source and destination are not same type.
    		{
    			srcVol:      "src-vol",
    			destVol:     "dest-vol",
    			srcPath:     "path/",
    			destPath:    "file-one",
    			expectedErr: errFileAccessDenied,
    		},
    		// TestXLStorage case - 8.
    		// TestXLStorage to check failure of destination directory exists.
    		{
    			srcVol:      "src-vol",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

     *  New: We've added `requestFailed()` and `responseFailed()` methods to `EventListener`. These
        are called instead of `requestBodyEnd()` and `responseBodyEnd()` in some failure situations.
        They may also be fired in cases where no event was published previously. In this release we did
        an internal rewrite of our event code to fix problems where events were lost or unbalanced.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  8. cmd/object-api-listobjects_test.go

    			if err == nil && testCase.shouldPass {
    				// The length of the expected ListObjectsResult.Objects
    				// should match in both expected result from test cases
    				// and in the output. On failure calling t.Fatalf,
    				// otherwise it may lead to index out of range error in
    				// assertion following this.
    				if !testCase.versioned {
    					if len(testCase.resultL.Objects) != len(resultL.Objects) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    	}
    
    	xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return errors.New(resp.Status)
    	}
    
    	return nil
    }
    
    // Notify notifies notification endpoint if configured regarding job failure or success.
    func (r BatchJobReplicateV1) Notify(ctx context.Context, ri *batchJobInfo) error {
    	return notifyEndpoint(ctx, ri, r.Flags.Notify.Endpoint, r.Flags.Notify.Token)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        string: String,
        exceptionMessage: String?,
      ) {
        try {
          val result = string.toHttpUrl()
          if (exceptionMessage != null) {
            fail("Expected failure with $exceptionMessage but got $result")
          } else {
            fail("Expected failure but got $result")
          }
        } catch (iae: IllegalArgumentException) {
          iae.printStackTrace()
          if (exceptionMessage != null) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
Back to top