Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 773 for zeros (0.05 sec)

  1. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

     * {@link NdrBuffer#enc_ndr_hyper(long)} and {@link NdrBuffer#dec_ndr_hyper()}.
     * The tests verify that:
     * <ul>
     *   <li>encoding and decoding round‑trip correctly handle typical, zero,
     *       and extreme {@code long} values.</li>
     *   <li>encode/decode methods interact correctly with a mocked
     *       {@link NdrBuffer} so that the correct method is called with
     *       the correct argument.</li>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

            TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
            // Assert
            assertNotNull(resp, "Instance should not be null");
        }
    
        /**
         * All wire‑format methods should return zero regardless of inputs.
         */
        @Nested
        @DisplayName("Wire format method behaviour")
        class WireFormatMethods {
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/MathTesting.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static java.math.BigInteger.ONE;
    import static java.math.BigInteger.ZERO;
    import static java.math.RoundingMode.CEILING;
    import static java.math.RoundingMode.DOWN;
    import static java.math.RoundingMode.FLOOR;
    import static java.math.RoundingMode.HALF_DOWN;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        void testHasMoreElements() {
            // Test initial state
            assertTrue(response.hasMoreElements());
    
            // Test after setting error code (not status)
            response.setTestErrorCode(1); // Non-zero errorCode indicates error
            assertFalse(response.hasMoreElements());
    
            // Reset error and test hasMore flag
            response.setTestErrorCode(0);
            response.hasMore = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        }
    
        @Test
        @DisplayName("run method handles zero iterations")
        void testRunWithZeroIterations() {
            TestLocking t = new TestLocking();
            t.url = "smb://test/file.txt";
            t.numIter = 0; // Zero iterations
    
            // Should complete immediately
            t.run();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

         *
         * @param lastGoodStreamId the last stream ID the peer processed before sending this message. If
         *     [lastGoodStreamId] is zero, the peer processed no frames.
         * @param errorCode reason for closing the connection.
         * @param debugData only valid for HTTP/2; opaque debug data to send.
         */
        fun goAway(
          lastGoodStreamId: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/BigIntegerMath.java

       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @since 20.0
       */
      public static BigInteger ceilingPowerOfTwo(BigInteger x) {
        return BigInteger.ZERO.setBit(log2(x, CEILING));
      }
    
      /**
       * Returns the largest power of two less than or equal to {@code x}. This is equivalent to {@code
       * BigInteger.valueOf(2).pow(log2(x, FLOOR))}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. internal/lru/lru.go

    	for i := 0; i < numBuckets; i++ {
    		res.buckets[i] = bucket[K, V]{entries: make(map[K]*Entry[K, V])}
    	}
    
    	// enable deleteExpired() running in separate goroutine for cache with non-zero TTL
    	//
    	// Important: done channel is never closed, so deleteExpired() goroutine will never exit,
    	// it's decided to add functionality to close it in the version later than v2.
    	if res.ttl != noEvictionTTL {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

        }
    
        @Test
        @DisplayName("Test decode with zero values")
        void testDecodeWithZeroValues() throws SMBProtocolDecodingException {
            // Prepare test data with zero values
            byte[] buffer = createValidBuffer("zerofile.txt", "ZEROFI~1.TXT", true);
    
            // Set zero values - for SMB times, 0 in wire format represents 0 in Java time
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        // hair space
        assertThat(parse("http://h/\u200a").encodedPath).isEqualTo("/%E2%80%8A")
        // zero-width space
        assertThat(parse("http://h/\u200b").encodedPath).isEqualTo("/%E2%80%8B")
        // zero-width non-joiner
        assertThat(parse("http://h/\u200c").encodedPath).isEqualTo("/%E2%80%8C")
        // zero-width joiner
        assertThat(parse("http://h/\u200d").encodedPath).isEqualTo("/%E2%80%8D")
        // left-to-right mark
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
Back to top