Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,303 for causes (0.06 sec)

  1. cmd/copy-part-range.go

    		return nil, errInvalidRange
    	}
    	return hrange, nil
    }
    
    // checkCopyPartRangeWithSize adds more check to the range string in case of
    // copy object part. This API requires having specific start and end  range values
    // e.g. 'bytes=3-10'. Other use cases will be rejected.
    func checkCopyPartRangeWithSize(rs *HTTPRangeSpec, resourceSize int64) (err error) {
    	if rs == nil {
    		return nil
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 18 03:27:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. cmd/copy-part-range_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "testing"
    
    // Test parseCopyPartRange()
    func TestParseCopyPartRangeSpec(t *testing.T) {
    	// Test success cases.
    	successCases := []struct {
    		rangeString string
    		offsetBegin int64
    		offsetEnd   int64
    	}{
    		{"bytes=2-5", 2, 5},
    		{"bytes=2-9", 2, 9},
    		{"bytes=2-2", 2, 2},
    		{"bytes=0000-0006", 0, 6},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  3. internal/grid/README.md

            fmt.Println("Subroute:", GetSubroute(ctx))
            for {
                select {
                case <-ctx.Done():
                    return nil
                case req, ok := <-in:
                    if !ok {
                        break
                    }           
                    // Do something with payload
                    out <- []byte("response")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. docs/fr/docs/async.md

    Nope ! C'est ça la morale de l'histoire.
    
    La concurrence est différente du parallélisme. C'est mieux sur des scénarios **spécifiques** qui impliquent beaucoup d'attente. À cause de ça, c'est généralement bien meilleur que le parallélisme pour le développement d'applications web. Mais pas pour tout.
    
    Donc pour équilibrer tout ça, imaginez l'histoire suivante :
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

        /**
         * Method that creates some informational string based on passed in {@link RequestTrace}. The contents of request
         * trace can literally be anything, but this class tries to cover "most common" cases that are happening in Maven.
         */
        public static String interpretTrace(boolean detailed, RequestTrace requestTrace) {
            while (requestTrace != null) {
                Object data = requestTrace.getData();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/MavenArtifactProperties.java

         * about Java classpath or anything alike. How artifact is being consumed depends heavily on the consumer project.
         * Resolver is and will remain agnostic of consumer project use cases.
         */
        public static final String CONSTITUTES_BUILD_PATH = "constitutesBuildPath";
    
        /**
         * The (expected) path to the artifact on the local filesystem. An artifact which has this property set is assumed
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

          throw e.getCause();
        }
      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * throws an {@code ExecutableException} and that the cause of the {@code ExecutableException} is
       * {@code expectedCause}.
       */
      public void assertException(Throwable expectedCause) throws Exception {
        // Verify that the listener executed in a reasonable amount of time.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/SourceSinkFactory.java

      /**
       * Returns the data to expect the source or sink to contain given the data that was used to create
       * the source or written to the sink. Typically, this will just return the input directly, but in
       * some cases it may alter the input. For example, if the factory returns a sliced view of a
       * source created with some given bytes, this method would return a subsequence of the given
       * (byte[]) data.
       */
      T getExpected(T data);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        }
        inputFuture = null;
    
        if (localInputFuture.isCancelled()) {
          @SuppressWarnings("unchecked")
          boolean unused =
              setFuture((ListenableFuture<O>) localInputFuture); // Respects cancellation cause setting
          return;
        }
    
        /*
         * Any of the setException() calls below can fail if the output Future is cancelled between now
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. tests/prepared_stmt_test.go

    }
    
    // TestPreparedStmtConcurrentReset test calling reset and executing SQL concurrently
    // this test making sure that the gorm would not get a Segmentation Fault, and the only error cause by this is using a closed Stmt
    func TestPreparedStmtConcurrentReset(t *testing.T) {
    	name := "prepared_stmt_concurrent_reset"
    	user := *GetUser(name, Config{})
    	createTx := DB.Session(&gorm.Session{}).Create(&user)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top