Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,521 for cases (0.05 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Test cases for the default {@code ModelResolver} implementation.
     *
     * @since 3.5.0
     */
    final class DefaultModelResolverTest extends AbstractRepositoryTestCase {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    The same way, you could raise an `HTTPException` or similar in the exit code, after the `yield`.
    
    /// tip
    
    This is a somewhat advanced technique, and in most of the cases you won't really need it, as you can raise exceptions (including `HTTPException`) from inside of the rest of your application code, for example, in the *path operation function*.
    
    But it's there for you if you need it. 🤓
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        // Since the last element of the heap is from the bottom level, we
        // optimistically fill index position with elements from lower levels,
        // moving the hole down. In most cases this reduces the number of
        // comparisons with toTrickle, but in some cases we will need to bubble it
        // all the way up again.
        int vacated = heap.fillHoleAt(index);
        // Try to see if toTrickle can be bubbled up min levels.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. cmd/batch-job-common-types.go

    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*sf = BatchJobSizeFilter(tmp)
    	sf.line, sf.col = val.Line, val.Column
    	return nil
    }
    
    // InRange returns true in the following cases and false otherwise,
    // - sf.LowerBound < sz, when sf.LowerBound alone is specified
    // - sz < sf.UpperBound, when sf.UpperBound alone is specified
    // - sf.LowerBound < sz < sf.UpperBound when both are specified,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/RateLimiter.java

     *
     * @author Dimitris Andreou
     * @since 13.0
     */
    // TODO(user): switch to nano precision. A natural unit of cost is "bytes", and a micro precision
    // would mean a maximum rate of "1MB/s", which might be small in some cases.
    @Beta
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class RateLimiter {
      /**
       * Creates a {@code RateLimiter} with the specified stable throughput, given as "permits per
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. cmd/storage-rest-client.go

    	case errFaultyDisk.Error():
    		return errFaultyDisk
    	case errFaultyRemoteDisk.Error():
    		return errFaultyRemoteDisk
    	case errFileCorrupt.Error():
    		return errFileCorrupt
    	case errUnexpected.Error():
    		return errUnexpected
    	case errDiskFull.Error():
    		return errDiskFull
    	case errVolumeNotFound.Error():
    		return errVolumeNotFound
    	case errVolumeExists.Error():
    		return errVolumeExists
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/sql-databases.md

    /// tip
    
    You could use any other SQL or NoSQL database library you want (in some cases called <abbr title="Object Relational Mapper, a fancy term for a library where some classes represent SQL tables and instances represent rows in those tables">"ORMs"</abbr>), FastAPI doesn't force you to use anything. 😎
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. cmd/post-policy_test.go

    		}
    	}
    
    	// Test cases for signature-V4.
    	testCasesV4 := []struct {
    		objectName         string
    		data               []byte
    		expectedHeaders    map[string]string
    		expectedRespStatus int
    		accessKey          string
    		secretKey          string
    		malformedBody      bool
    	}{
    		// Success case.
    		{
    			objectName:         "test",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

       * {@link #add(Object)} or {@link #pollFirstEntry}. This skeleton implementation correctly
       * delegates each of its operations to the appropriate methods of this {@code
       * ForwardingSortedMultiset}.
       *
       * <p>In many cases, you may wish to override {@link #descendingMultiset()} to return an instance
       * of a subclass of {@code StandardDescendingMultiset}.
       */
      protected abstract class StandardDescendingMultiset extends DescendingMultiset<E> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_distributed_test.cc

      }
    
     private:
      bool first_call_ = true;
    };
    
    // After the graph pass is registered, it takes effect globally and can affect
    // other test cases. Define a static variable to switch it on and off.
    bool GraphErrorInjectionPass::enabled_ = false;
    
    // Test to ensure that a registered graph optimization pass is only executed
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top