Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 288 for arraycopy (0.04 sec)

  1. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            int total = 0;
            for (byte[] a : arrays) {
                total += a.length;
            }
            byte[] res = new byte[total];
            int off = 0;
            for (byte[] a : arrays) {
                System.arraycopy(a, 0, res, off, a.length);
                off += a.length;
            }
            return res;
        }
    
        @Test
        @DisplayName("Read single bytes from stream with message packet")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            final byte[] xmlBytes = xml.getBytes();
            final byte[] dataWithBOM = new byte[bom.length + xmlBytes.length];
            System.arraycopy(bom, 0, dataWithBOM, 0, bom.length);
            System.arraycopy(xmlBytes, 0, dataWithBOM, bom.length, xmlBytes.length);
    
            final InputStream in = new ByteArrayInputStream(dataWithBOM);
            final SitemapSet sitemapSet = sitemapsHelper.parse(in);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/FileUtil.java

                        }
                        final char[] newBuf = new char[newBufferSize];
                        System.arraycopy(buf, 0, newBuf, 0, bufferSize);
                        buf = newBuf;
                        bufferSize = newBufferSize;
                    }
                }
                return new String(buf, 0, size);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                // Check path starts at byte 2
                byte[] expectedPathBytes = path.getBytes(StandardCharsets.UTF_16LE);
                byte[] actualPathBytes = new byte[expectedPathBytes.length];
                System.arraycopy(dst, 2, actualPathBytes, 0, expectedPathBytes.length);
                assertArrayEquals(expectedPathBytes, actualPathBytes);
    
                // Check null terminator at the end
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/UniAddress.java

                    } else if (LogStream.level > 1) {
                        log.println("unknown resolver method: " + s);
                    }
                }
                resolveOrder = new int[i];
                System.arraycopy(tmp, 0, resolveOrder, 0, i);
            }
        }
    
        static class Sem {
            Sem(final int count) {
                this.count = count;
            }
    
            int count;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/HashCode.java

            retVal |= (bytes[i] & 0xFFL) << (i * 8);
          }
          return retVal;
        }
    
        @Override
        void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
          System.arraycopy(bytes, 0, dest, offset, maxLength);
        }
    
        @Override
        byte[] getBytesInternal() {
          return bytes;
        }
    
        @Override
        boolean equalsSameBits(HashCode that) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/HashCode.java

            retVal |= (bytes[i] & 0xFFL) << (i * 8);
          }
          return retVal;
        }
    
        @Override
        void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
          System.arraycopy(bytes, 0, dest, offset, maxLength);
        }
    
        @Override
        byte[] getBytesInternal() {
          return bytes;
        }
    
        @Override
        boolean equalsSameBits(HashCode that) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

                    e = i - 4;
                    break;
                }
            }
    
            final StackTraceElement[] res = new StackTraceElement[e - s];
            System.arraycopy(stackTrace, s, res, 0, e - s);
            return res;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            final int len = bufferIndex - start;
            this.length = len;
    
            if (isRetainPayload()) {
                final byte[] payload = new byte[len];
                System.arraycopy(buffer, 4, payload, 0, len);
                setRawPayload(payload);
            }
    
            if (!verifySignature(buffer, 4, len)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Booleans.java

        for (boolean[] array : arrays) {
          length += array.length;
        }
        boolean[] result = new boolean[checkNoOverflow(length)];
        int pos = 0;
        for (boolean[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      private static int checkNoOverflow(long result) {
        checkArgument(
            result == (int) result,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 15:01:23 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top