Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 260 for Hints (0.02 sec)

  1. src/test/java/jcifs/smb/SmbNamedPipeTest.java

        }
    
        @ParameterizedTest
        @DisplayName("getPipeType echoes constructor input (edge values)")
        @ValueSource(ints = { 0, SmbPipeResource.PIPE_TYPE_RDONLY, SmbPipeResource.PIPE_TYPE_WRONLY, SmbPipeResource.PIPE_TYPE_DCE_TRANSACT })
        void getPipeTypeEchoesInput(int pipeType) throws Exception {
            // Arrange & Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                // Then
                assertEquals(HEADER_SIZE + CHUNK_SIZE, size);
            }
    
            @ParameterizedTest
            @DisplayName("Should return correct size with multiple chunks")
            @ValueSource(ints = { 1, 2, 3, 5, 10, 100 })
            void testSizeWithMultipleChunks(int chunkCount) {
                // Given
                byte[] sourceKey = new byte[SOURCE_KEY_SIZE];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

     * the License.
     */
    
    package com.google.common.hash;
    
    import static com.google.common.base.Preconditions.checkArgument;
    
    import com.google.common.math.LongMath;
    import com.google.common.primitives.Ints;
    import com.google.common.primitives.Longs;
    import java.math.RoundingMode;
    import java.util.Arrays;
    import java.util.concurrent.atomic.AtomicLongArray;
    import org.jspecify.annotations.Nullable;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/DiscreteDomain.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    import java.math.BigInteger;
    import java.util.NoSuchElementException;
    import org.jspecify.annotations.Nullable;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertEquals(4, context.size()); // Only header
            }
    
            @ParameterizedTest
            @DisplayName("Should encode with different hash algorithm counts")
            @ValueSource(ints = { 0, 1, 2, 5, 10 })
            void testEncodeWithDifferentHashAlgoCounts(int count) {
                int[] hashAlgos = new int[count];
                for (int i = 0; i < count; i++) {
                    hashAlgos[i] = i + 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/ThrowablesTest.java

    import com.google.common.base.TestExceptions.SomeUncheckedException;
    import com.google.common.base.TestExceptions.YetAnotherCheckedException;
    import com.google.common.collect.Iterables;
    import com.google.common.primitives.Ints;
    import com.google.common.testing.NullPointerTester;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Throwables}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

        void decodesSrvCopyChunkCopyResponse() throws Exception {
            // Validate createOutputDecodable() mapping and Decodable decode
            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
    
            // Prepare 3 ints: chunksWritten=1, chunkBytesWritten=2, totalBytesWritten=3
            byte[] out = new byte[12];
            SMBUtil.writeInt4(1, out, 0);
            SMBUtil.writeInt4(2, out, 4);
            SMBUtil.writeInt4(3, out, 8);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            assertEquals("DFS resolution failed", ex.getMessage());
            verify(handle, times(1)).ensureDFSResolved();
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE })
        @DisplayName("hasCapability(cap): returns configured value and captures argument across edge caps")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f);
        List<Long> longs = Arrays.asList(0L, 1L, 2L);
        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Bytes.toArray(bytes)).isEqualTo(array);
        assertThat(Bytes.toArray(shorts)).isEqualTo(array);
        assertThat(Bytes.toArray(ints)).isEqualTo(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            assertTrue(s.contains("Trans2GetDfsReferral["));
            assertTrue(s.contains("filename=/bar"));
            assertTrue(s.contains("maxReferralLevel=0x3"));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 5, -1, 65534 })
        @DisplayName("referral level variations")
        void testLevels(int level) throws Exception {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("foo");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top