Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 3,507 for Int (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java

        @Test
        void testWriteParameterWordsWireFormat() {
            // Given
            SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect();
            byte[] dst = new byte[10];
    
            // When
            int result = smbComTreeDisconnect.writeParameterWordsWireFormat(dst, 0);
    
            // Then
            assertEquals(0, result, "writeParameterWordsWireFormat should return 0");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            void testGetPathConsumed() {
                int pathConsumed = 20;
    
                // Test with mock
                when(mockReferralData.getPathConsumed()).thenReturn(pathConsumed);
                assertEquals(pathConsumed, mockReferralData.getPathConsumed());
                verify(mockReferralData, times(1)).getPathConsumed();
    
                // Test with concrete implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ShortsTest.java

      public void testConcat_overflow_negative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_nonNegative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 16;
        assertThat(dim1 * dim2).isAtLeast(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

      @Override
      @SuppressWarnings("unchecked")
      public final Entry<String, String>[] createArray(int length) {
        return (Entry<String, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

        return ImmutableList.of(element);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        dst[offset] = element;
        return offset + 1;
      }
    
      @Override
      public final int hashCode() {
        return element.hashCode();
      }
    
      @Override
      public String toString() {
        return '[' + element.toString() + ']';
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompoundOrdering.java

        this.comparators =
            Iterables.toArray(comparators, (Comparator<? super T>[]) new Comparator<?>[0]);
      }
    
      @Override
      public int compare(@ParametricNullness T left, @ParametricNullness T right) {
        for (int i = 0; i < comparators.length; i++) {
          int result = comparators[i].compare(left, right);
          if (result != 0) {
            return result;
          }
        }
        return 0;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessEventType.java

        NODE_AVAILABLE(7);
    
        private final int value;
    
        /**
         * Creates a new WitnessEventType with the specified value.
         *
         * @param value the numeric event type value
         */
        WitnessEventType(int value) {
            this.value = value;
        }
    
        /**
         * Gets the numeric event type value.
         *
         * @return the event type value
         */
        public int getValue() {
            return value;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

        void testSessionServiceErrors(int errorCode, String description) {
            int errSsn = NbtException.ERR_SSN_SRVC;
            String message = NbtException.getErrorString(errSsn, errorCode);
            assertTrue(message.contains(description));
        }
    
        @Test
        @DisplayName("getErrorString for unknown error class")
        void testUnknownErrorClass() {
            int unknownClass = 1234;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/FunctionalTestBucketModel.kt

    import configurations.FunctionalTest
    import configurations.ParallelizationMethod
    import java.util.SortedSet
    
    class TestClassTime(
        val sourceSet: String,
        val buildTimeMs: Int,
    )
    
    data class TestCoverageAndBucketSplits(
        val testCoverageUuid: Int,
        val buckets: List<FunctionalTestBucket>,
    )
    
    data class FunctionalTestBucket(
        val subprojects: SortedSet<String>,
        val parallelizationMethod: ParallelizationMethod,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        public void recordRdmaSend(int bytes, long durationNanos) {
            rdmaSends.incrementAndGet();
            bytesTransferred.addAndGet(bytes);
            totalSendTime.addAndGet(durationNanos);
        }
    
        /**
         * Record an RDMA receive operation
         *
         * @param bytes number of bytes received
         * @param durationNanos operation duration in nanoseconds
         */
        public void recordRdmaReceive(int bytes, long durationNanos) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top