Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 340 for slope (0.12 sec)

  1. android/guava/src/com/google/common/math/LinearTransformation.java

         * Finish building an instance with the given slope, i.e. the rate of change of {@code y} with
         * respect to {@code x}. The slope must not be {@code NaN}. It may be infinite, in which case
         * the transformation is vertical. (If it is zero, the transformation is horizontal.)
         */
        public LinearTransformation withSlope(double slope) {
          checkArgument(!Double.isNaN(slope));
          if (isFinite(slope)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        double x1 = 1.2;
        double y1 = 3.4;
        double slope = Double.MIN_VALUE;
        LinearTransformation transformation = LinearTransformation.mapping(x1, y1).withSlope(slope);
        assertThat(transformation.isVertical()).isFalse();
        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        double x1 = 1.2;
        double y1 = 3.4;
        double slope = Double.MIN_VALUE;
        LinearTransformation transformation = LinearTransformation.mapping(x1, y1).withSlope(slope);
        assertThat(transformation.isVertical()).isFalse();
        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java

    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    @Documented
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  5. tests/test_route_scope.py

    
    @app.get("/users/{user_id}")
    async def get_user(user_id: str, request: Request):
        route: APIRoute = request.scope["route"]
        return {"user_id": user_id, "path": route.path}
    
    
    @app.websocket("/items/{item_id}")
    async def websocket_item(item_id: str, websocket: WebSocket):
        route: APIWebSocketRoute = websocket.scope["route"]
        await websocket.accept()
        await websocket.send_json({"item_id": item_id, "path": route.path})
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Feb 08 10:23:07 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  6. .idea/scopes/scope_settings.xml

    Maxim Shafirov <******@****.***> 1308913888 +0400
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Jun 24 11:11:28 GMT 2011
    - 139 bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

                desiredScope = scope;
            } else if (Artifact.SCOPE_TEST.equals(scope) || Artifact.SCOPE_PROVIDED.equals(scope)) {
                return null;
            } else if (Artifact.SCOPE_COMPILE.equals(scope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile artifactScope. Remove if you want compile inherited as runtime
                desiredScope = Artifact.SCOPE_COMPILE;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

            assertTrue(filter.include(newArtifact(Artifact.SCOPE_PROVIDED)));
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_RUNTIME)));
            assertFalse(filter.include(newArtifact(Artifact.SCOPE_TEST)));
        }
    
        @Test
        void testInclude_Runtime() {
            ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_RUNTIME);
    
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_COMPILE)));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

         * Helper method to simplify null processing
         *
         * @param scope a scope or {@code null}
         * @return the provided scope or DEFAULT_SCOPE
         */
        public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope) {
            return scope == null ? DEFAULT_SCOPE : scope;
        }
    
        /**
         *
         * @return unsafe String representation of this scope.
         */
        public String getScope() {
            if (id == 1) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. maven-compat/src/test/resources/projects/scope/transitive-test-dep.xml

        <dependency>
          <groupId>maven-test-test</groupId>
          <artifactId>scope-runtime</artifactId>
          <version>1.0</version>
          <scope>runtime</scope>
        </dependency>
    
        <dependency>
          <groupId>maven-test-test</groupId>
          <artifactId>scope-compile</artifactId>
          <version>1.0</version>
          <scope>compile</scope>
        </dependency>
    
      </dependencies>
    
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Oct 26 20:16:00 GMT 2009
    - 1.6K bytes
    - Viewed (0)
Back to top