Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 864 for Hero (0.43 sec)

  1. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            System.arraycopy(buffer, 14, encodedName, 0, nameBytes.length);
            assertArrayEquals(nameBytes, encodedName);
        }
    
        @Test
        @DisplayName("Test zero timeout with timeout specified constructor")
        void testZeroTimeoutWithTimeoutSpecified() {
            // Setup
            String pipeName = "TestPipe";
            long timeout = 0L;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/BigDecimalMath.java

       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
       * default rounding mode: if the two nearest representable values are equally near, the one with
       * the least significant bit zero is chosen. (In such cases, both of the nearest representable
       * values are even integers; this method returns the one that is a multiple of a greater power of
       * two.)
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

       * Constructs an iterator across a sequence of the given size whose initial position is 0. That
       * is, the first call to {@link #next()} will return the first element (or throw {@link
       * NoSuchElementException} if {@code size} is zero).
       *
       * @throws IllegalArgumentException if {@code size} is negative
       */
      protected AbstractIndexedListIterator(int size) {
        this(size, 0);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. cmd/api-errors_test.go

    		}
    		if errCode.Code == "" {
    			t.Fatal(errAPI, "error code has an empty XML code")
    		}
    		if errCode.HTTPStatusCode == 0 {
    			t.Fatal(errAPI, "error code has a zero HTTP status code")
    		}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(signingKey, "Should handle all-zero session key");
            assertEquals(16, signingKey.length, "Should produce 16-byte key");
            assertFalse(Arrays.equals(zeroSessionKey, signingKey), "Derived key should be different from all-zero input");
        }
    
        @Test
        @DisplayName("Should handle edge case with all 0xFF session key")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

                    TEST_CREATE_TIME, TEST_LAST_WRITE_TIME, TEST_LAST_ACCESS_TIME);
    
            // The constructor should create FileBasicInfo with attributes | 0x80
            assertNotNull(trans2SetFileInfo);
    
            // Test with zero attributes
            trans2SetFileInfo =
                    new Trans2SetFileInformation(config, TEST_FID, 0x00, TEST_CREATE_TIME, TEST_LAST_WRITE_TIME, TEST_LAST_ACCESS_TIME);
            assertNotNull(trans2SetFileInfo);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

       * happens when an {@link AtomicInteger#compareAndSet} fails, but we can simulate the case where
       * the putIfAbsent returns a non-null value, and the case where the replace() of an observed zero
       * fails.
       */
      public void testAdd_withFailures() {
        AtomicInteger existing = new AtomicInteger(12);
        AtomicInteger existingZero = new AtomicInteger(0);
    
        // initial map.get()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top