Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 3,007 for int8 (0.04 sec)

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

            byte[] buffer = new byte[100];
            int startIndex = 5;
            original.encode(buffer, startIndex);
    
            // Now decode into a new instance
            int bytesRead = fileBasicInfo.decode(buffer, startIndex, 36);
    
            // Verify bytes read
            assertEquals(36, bytesRead);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. 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
            SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", pipeType, ctx());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

      }
    
      private fun String.requiresEncode(
        pos: Int,
        limit: Int,
      ): Boolean {
        for (i in pos until limit) {
          if (this[i].code >= INITIAL_N) return true
        }
        return false
      }
    
      private fun String.codePoints(
        pos: Int,
        limit: Int,
      ): List<Int> {
        val result = mutableListOf<Int>()
        var i = pos
        while (i < limit) {
          val c = this[i]
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Supplemental tests for {@link Monitor}.
     *
     * <p>This test class contains various test cases that don't fit into the test case generation in
     * {@link GeneratedMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    @NullUnmarked
    public class SupplementalMonitorTest extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Supplemental tests for {@link Monitor}.
     *
     * <p>This test class contains various test cases that don't fit into the test case generation in
     * {@link GeneratedMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    @NullUnmarked
    public class SupplementalMonitorTest extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            buffer[6] = 0;
            buffer[7] = 0;
    
            return buffer;
        }
    
        private byte[] createDfsReferralBufferWithMultipleReferrals(int numReferrals) {
            // Each referral structure needs 20 bytes, plus string data
            int referralSize = 20;
            int referralsDataSize = numReferrals * referralSize;
    
            // Add space for string data for each referral
            String testPath = "\\server\\share";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ParameterUtil.java

            // nothing
        }
    
        /**
         * Parses parameter string into a map.
         *
         * @param value the parameter string
         * @return the parameter map
         */
        public static Map<String, String> parse(final String value) {
            final Map<String, String> paramMap = new LinkedHashMap<>();
            if (value != null) {
                int unknownKey = 0;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

        }
    
        @Test
        @DisplayName("Test decompression into buffer")
        public void testDecompressionIntoBuffer() throws CIFSException {
            byte[] compressed = compressionService.compress(testData, CompressionService.COMPRESSION_LZ77);
    
            byte[] outputBuffer = new byte[testData.length + 100];
            int writtenBytes =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HMACT64Test.java

                verify(mockMd5, times(1)).digest(buffer, 0, expectedOutput.length); // Final digest into buffer
            }
        }
    
        @Test
        void testEngineDigestWithBufferException() throws NoSuchAlgorithmException, DigestException {
            // Test engineDigest(byte[] buf, int offset, int len) throws exception
            try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. cmd/http-stats.go

    func (stats *HTTPAPIStats) Get(api string) int {
    	if stats == nil {
    		return 0
    	}
    
    	stats.RLock()
    	defer stats.RUnlock()
    
    	val, ok := stats.apiStats[api]
    	if ok {
    		return val
    	}
    
    	return 0
    }
    
    // Load returns the recorded stats.
    func (stats *HTTPAPIStats) Load(toLower bool) map[string]int {
    	if stats == nil {
    		return map[string]int{}
    	}
    
    	stats.RLock()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top