Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 793 for LENGTH (0.03 sec)

  1. src/main/java/org/codelibs/core/collection/ArrayUtil.java

                return a;
            }
            if (a.length == 0) {
                return b;
            }
            if (b.length == 0) {
                return a;
            }
            final boolean[] array = (boolean[]) Array.newInstance(boolean.class, a.length + b.length);
            System.arraycopy(a, 0, array, 0, a.length);
            System.arraycopy(b, 0, array, a.length, b.length);
            return array;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            }
            return compress(data, 0, data.length, algorithm);
        }
    
        @Override
        public byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException {
            if (data == null) {
                throw new CIFSException("Data cannot be null");
            }
            if (offset < 0 || length < 0 || offset + length > data.length) {
                throw new CIFSException("Invalid offset or length");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            assertEquals(2, protocolHelper.getWebProtocols().length);
            assertEquals(3, protocolHelper.getFileProtocols().length);
        }
    
        public void test_loadProtocols() {
            final ProtocolHelper protocolHelper = new ProtocolHelper();
            protocolHelper.loadProtocols("org.codelibs.fess.test.net.protocol");
    
            assertEquals(1, protocolHelper.getWebProtocols().length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

          TYPE_RST_STREAM -> readRstStream(handler, length, flags, streamId)
          TYPE_SETTINGS -> readSettings(handler, length, flags, streamId)
          TYPE_PUSH_PROMISE -> readPushPromise(handler, length, flags, streamId)
          TYPE_PING -> readPing(handler, length, flags, streamId)
          TYPE_GOAWAY -> readGoAway(handler, length, flags, streamId)
          TYPE_WINDOW_UPDATE -> readWindowUpdate(handler, length, flags, streamId)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            if (length < 0) {
                failedValidations.incrementAndGet();
                bufferOverflowsPrevented.incrementAndGet();
                throw new SmbException("Negative length: " + length);
            }
    
            // Check for integer overflow
            if (offset > buffer.length - length) {
                failedValidations.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

        void testConstructorInitialization() {
            // Given
            int offset = 0;
            int length = TEST_DATA.length;
    
            // When
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, offset, length);
    
            // Then
            assertNotNull(transCallNamedPipe);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

          val byteCount = hpackBuffer.size
          val length = minOf(maxFrameSize - 4L, byteCount).toInt()
          frameHeader(
            streamId = streamId,
            length = length + 4,
            type = TYPE_PUSH_PROMISE,
            flags = if (byteCount == length.toLong()) FLAG_END_HEADERS else 0,
          )
          sink.writeInt(promisedStreamId and 0x7fffffff)
          sink.write(hpackBuffer, length.toLong())
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/util/HMACT64Test.java

            HMACT64 clonedHmac = (HMACT64) originalHmac.clone();
    
            assertNotNull(clonedHmac);
            assertNotSame(originalHmac, clonedHmac);
    
            // Both should produce the same result when given the same remaining data
            originalHmac.engineUpdate(TEST_DATA, TEST_DATA.length / 2, TEST_DATA.length - TEST_DATA.length / 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/InputValidator.java

                throw new IllegalArgumentException("Offsets and length must be non-negative");
            }
            if (srcOffset + length > src.length) {
                throw new IllegalArgumentException(
                        "Source array bounds exceeded: offset=" + srcOffset + ", length=" + length + ", array.length=" + src.length);
            }
            if (dstOffset + length > dst.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

                // Add null termination
                buffer[94 + filenameBytes.length] = 0;
                buffer[94 + filenameBytes.length + 1] = 0;
            } else {
                byte[] filenameBytes = Strings.getOEMBytes(filename, mockConfig);
                System.arraycopy(filenameBytes, 0, buffer, 94, filenameBytes.length);
                // Add null termination
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top