Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 436 for rounds (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            byte[] buffer = new byte[0];
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> cmd.readBytesWireFormat(buffer, 0));
        }
    
        /**
         * Test round‑trip encoding/decoding of ranges using the public
         * {@link LockingAndXRange} encode/decode methods.
         */
        @Test
        void lockRangeEncodeDecodeRoundTrip() throws Exception {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/graph/PredecessorsFunction.java

     * }
     *
     * This works because those types each implement {@code PredecessorsFunction}. It will also work
     * with any other implementation of this interface.
     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
     * which has a method {@code getParents()} that retrieves its predecessors in a graph:
     *
     * {@snippet :
     * someGraphAlgorithm(startNode, MyNode::getParents);
     * }
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/primitives/UnsignedLong.java

        return value;
      }
    
      /**
       * Returns the value of this {@code UnsignedLong} as a {@code float}, analogous to a widening
       * primitive conversion from {@code long} to {@code float}, and correctly rounded.
       */
      @Override
      public float floatValue() {
        if (value >= 0) {
          return (float) value;
        }
        // The top bit is set, which means that the float value is going to come from the top 24 bits.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

                    () -> newModelResolver().resolveModel(parent),
                    "Expected 'UnresolvableModelException' not thrown.");
            assertEquals("The requested parent version range '[1.0,)' does not specify an upper bound", e.getMessage());
        }
    
        @Test
        void testResolveParentSuccessfullyResolvesExistingParentWithoutRange() throws Exception {
            final Parent parent = new Parent();
            parent.setGroupId("ut.simple");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

        }
    
        resetContainer(getSubjectGenerator().create(entries.toArray()));
        assertEquals(
            "A Map's hashCode() should be the sum of those of its entries (where "
                + "a null element in an entry counts as having a hash of zero).",
            expectedHashCode,
            getMap().hashCode());
      }
    
      private static int hash(Entry<?, ?> e) {
        return (e.getKey() == null ? 0 : e.getKey().hashCode())
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    import org.eclipse.aether.RepositorySystemSession;
    
    // This class needs to stick around because it was exposed the remote resources plugin started using it instead of
    // getting the repositories from the project.
    
    /**
     * ProjectUtils
     */
    @Deprecated
    public final class ProjectUtils {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  7. WORKSPACE

    register_toolchains("@rules_ml_toolchain//cc:linux_aarch64_linux_aarch64_cuda")
    
    # Initialize the TensorFlow repository and all dependencies.
    #
    # The cascade of load() statements and tf_workspace?() calls works around the
    # restriction that load() statements need to be at the top of .bzl files.
    # E.g. we can not retrieve a new repository with http_archive and then load()
    # a macro from that repository in the same file.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Dec 26 23:20:26 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        ImmutableTypeToInstanceMap<Iterable<?>[]> map =
            ImmutableTypeToInstanceMap.<Iterable<?>[]>builder().put(type, array).build();
        assertEquals(1, map.size());
        // Redundant cast works around a javac bug.
        assertThat((Iterable<?>[]) map.getInstance(type)).asList().containsExactly(array[0]);
      }
    
      public void testWildcardType() {
        TypeToken<ImmutableList<?>> type = new TypeToken<ImmutableList<?>>() {};
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/math/BigDecimalMath.java

     *
     * @author Louis Wasserman
     * @since 30.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public class BigDecimalMath {
      private BigDecimalMath() {}
    
      /**
       * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x}
       * is precisely representable as a {@code double}, its {@code double} value will be returned;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. internal/lock/lock.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package lock - implements filesystem locking wrappers around an
    // open file descriptor.
    package lock
    
    import (
    	"errors"
    	"os"
    	"sync"
    )
    
    // ErrAlreadyLocked is returned if the underlying fd is already locked.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.5K bytes
    - Click Count (0)
Back to Top