Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 3,865 for should (0.06 sec)

  1. guava-tests/test/com/google/common/math/IntMathTest.java

            try {
              assertEquals(b + "^" + k, force32(expectedResult.intValue()), IntMath.checkedPow(b, k));
              assertTrue(b + "^" + k + " should have succeeded", expectedSuccess);
            } catch (ArithmeticException e) {
              assertFalse(b + "^" + k + " should have failed", expectedSuccess);
            }
          }
        }
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // TODO
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                URL url = new URL(originalRepository.getUrl());
                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
            }
        }
    
        private static boolean isLocal(String host) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. docs/erasure/storage-class/README.md

    ### Allowed values for STANDARD storage class
    
    `STANDARD` storage class implies more parity than `REDUCED_REDUNDANCY` class. So, `STANDARD` parity drives should be
    
    - Greater than or equal to 2, if `REDUCED_REDUNDANCY` parity is not set.
    - Greater than `REDUCED_REDUNDANCY` parity, if it is set.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

                "xyz.rogfam:littleproxy",
                setOf("barchart-udt-bundle", "guava", "commons-cli")
            )
    
            // TODO: Gradle profiler should use the bundled tooling API.
            //   This should actually be handled by conflict resolution, though it doesn't seem to work.
            //   See https://github.com/gradle/gradle/issues/12002.
            withLibraryDependencies<DependencyRemovalByNameRule>(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

    // This file contains members that we should consider to pull upstream
    // and make available to all Kotlin DSL users
    package gradlebuild.basics.kotlindsl
    
    import org.gradle.api.Project
    import org.gradle.kotlin.dsl.support.serviceOf
    import org.gradle.process.ExecOperations
    import java.io.ByteArrayOutputStream
    import java.io.File
    
    
    /**
     * `dir / "sub"` is the same as `dir.resolve("sub")`.
     *
     * @see [File.resolve]
     */
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 21:39:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. cmd/storage-rest-client.go

    		// value is cached we should attempt to invalidate it if such calls
    		// were attempted. This can lead to false success under certain conditions
    		// - this change attempts to avoid stale information if the underlying
    		// transport is already down.
    		return "", errDiskNotFound
    	}
    
    	// This call should never be over the network, this is always
    	// a cached value - caller should make sure to use this
    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. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals("Ordering.explicit([0])", c.toString());
      }
    
      public void testExplicitMax_b297601553() {
        Ordering<Integer> c = Ordering.explicit(1, 2, 3);
    
        // TODO(b/297601553): this should probably throw an CCE since 0 isn't explicitly listed
        assertEquals(0, (int) c.max(asList(0)));
        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.max(asList(0, 1)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals("Ordering.explicit([0])", c.toString());
      }
    
      public void testExplicitMax_b297601553() {
        Ordering<Integer> c = Ordering.explicit(1, 2, 3);
    
        // TODO(b/297601553): this should probably throw an CCE since 0 isn't explicitly listed
        assertEquals(0, (int) c.max(asList(0)));
        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.max(asList(0, 1)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. docs/en/docs/reference/request.md

    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Request
    ```
    
    /// tip
    
    When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an `HTTPConnection` instead of a `Request` or a `WebSocket`.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 518 bytes
    - Viewed (0)
  10. docs/en/docs/advanced/response-cookies.md

    And also that you are not sending any data that should have been filtered by a `response_model`.
    
    ///
    
    ### More info
    
    /// note | "Technical Details"
    
    You could also use `from starlette.responses import Response` or `from starlette.responses import JSONResponse`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top