Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1521 - 1530 of 1,632 for testLong (0.09 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

    import static org.junit.Assert.assertThrows;
    import static org.junit.Assert.assertTrue;
    
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing directed {@link Graph} implementations defined in this package.
     */
    @NullUnmarked
    public abstract class AbstractStandardDirectedGraphTest extends AbstractGraphTest {
    
      @Override
      @Test
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThat(future.isDone()).isFalse();
        assertThat(future.set(1)).isTrue();
        assertSuccessful(future, 1);
      }
    
      /** Concrete subclass for testing. */
      private static class TestedFuture<V> extends AbstractFuture<V> {
        private static <V> TestedFuture<V> create() {
          return new TestedFuture<V>();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RangeSet.java

      /**
       * Returns {@code true} if there exists a non-empty range enclosed by both a member range in this
       * range set and the specified range. This is equivalent to calling {@code
       * subRangeSet(otherRange)} and testing whether the resulting range set is non-empty.
       *
       * @since 20.0
       */
      boolean intersects(Range<C> otherRange);
    
      /**
       * Returns {@code true} if there exists a member range in this range set which {@linkplain
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            Name mockRecordName = new Name(mockConfig);
            recordNameField.set(nameQueryResponse, mockRecordName);
    
            NbtAddress[] addresses = new NbtAddress[2];
            // Create dummy NbtAddress objects for testing toString
            addresses[0] = new NbtAddress(mockRecordName, 0xC0A80101, false, 0); // 192.168.1.1
            addresses[1] = new NbtAddress(mockRecordName, 0x0A000005, true, 1); // 10.0.0.5
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. README.md

    A smaller CPU-only package is also available:
    
    ```
    $ pip install tensorflow-cpu
    ```
    
    To update TensorFlow to the latest version, add `--upgrade` flag to the above
    commands.
    
    *Nightly binaries are available for testing using the
    [tf-nightly](https://pypi.python.org/pypi/tf-nightly) and
    [tf-nightly-cpu](https://pypi.python.org/pypi/tf-nightly-cpu) packages on PyPI.*
    
    #### *Try your first TensorFlow program*
    
    ```shell
    $ python
    ```
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Jul 18 14:09:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/LongMath.java

            /*
             * We wish to test whether or not x <= (sqrtFloor + 0.5)^2 = halfSquare + 0.25. Since both x
             * and halfSquare are integers, this is equivalent to testing whether or not x <=
             * halfSquare. (We have to deal with overflow, though.)
             *
             * If we treat halfSquare as an unsigned long, we know that
             *            sqrtFloor^2 <= x < (sqrtFloor + 1)^2
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.testing.FakeTicker;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ConcurrentMap;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

    @ExtendWith(MockitoExtension.class)
    @DisplayName("DcerpcMessage Tests")
    class DcerpcMessageTest {
    
        @Mock
        private NdrBuffer mockBuffer;
    
        private TestDcerpcMessage message;
    
        // Concrete implementation for testing abstract DcerpcMessage
        private static class TestDcerpcMessage extends DcerpcMessage {
            private int opnumValue;
    
            public TestDcerpcMessage(int opnumValue) {
                this.opnumValue = opnumValue;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            // When/Then
            assertThrows(NullPointerException.class, () -> {
                new Type3Message((byte[]) null);
            });
        }
    
        /**
         * Helper method to create a mock Type 2 message for testing
         */
        private Type2Message createMockType2Message() {
            // Create a basic Type 2 message with challenge
            byte[] challenge = new byte[8];
            new SecureRandom().nextBytes(challenge);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.util.Collections.singleton;
    import static java.util.Collections.unmodifiableList;
    import static junit.framework.TestCase.assertEquals;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
Back to top