Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 286 for arrayCopy (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                // Verify query flags
                assertEquals(0xABCDEF00, SMBUtil.readInt4(buffer, 84));
    
                // Verify file ID
                byte[] actualFileId = new byte[16];
                System.arraycopy(buffer, 88, actualFileId, 0, 16);
                assertArrayEquals(testFileId, actualFileId);
    
                // Verify total bytes written
                assertEquals(40, bytesWritten);
            } catch (Exception e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            final int start = dstIndex;
    
            while (this.pad-- > 0) {
                dst[dstIndex] = (byte) 0xEE;
                dstIndex++;
            }
            System.arraycopy(this.b, this.off, dst, dstIndex, this.dataLength);
            dstIndex += this.dataLength;
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                int fileNameLength = SMBUtil.readInt4(outputBuffer, offset + 8);
    
                // Extract filename
                byte[] fileNameBytes = new byte[fileNameLength];
                System.arraycopy(outputBuffer, offset + 12, fileNameBytes, 0, fileNameLength);
                String fileName = new String(fileNameBytes, StandardCharsets.UTF_16LE);
    
                // Convert action to our enum
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/Name.java

                dst[dstIndex] = (byte) 0x00;
                return 1;
            }
    
            // copy new scope in
            dst[dstIndex] = (byte) '.';
            dstIndex++;
            try {
                System.arraycopy(scope.getBytes(Name.OEM_ENCODING), 0, dst, dstIndex, scope.length());
            } catch (final UnsupportedEncodingException uee) {}
            dstIndex += scope.length();
    
            dst[dstIndex++] = (byte) 0x00;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ListsTest.java

    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.nCopies;
    import static java.util.Collections.singletonList;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayMap.java

         */
        protected Entry<K, V> removeList(final int index) {
            final Entry<K, V> e = listTable[index];
            final int numMoved = size - index - 1;
            if (numMoved > 0) {
                System.arraycopy(listTable, index + 1, listTable, index, numMoved);
            }
            listTable[--size] = null;
            return e;
        }
    
        /**
         * Ensures capacity when the size exceeds the threshold.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.asList;
    import static java.util.Collections.frequency;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            if (this.parameterCount > 0) {
                System.arraycopy(this.txn_buf, this.bufParameterOffset, dst, this.headerStart + this.parameterOffset, this.parameterCount);
                end = Math.max(end, this.headerStart + this.parameterOffset + this.parameterCount + this.pad2);
            }
    
            if (this.dataCount > 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SID.java

            final byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4];
            int di = 0;
            dst[di] = sid.revision;
            di++;
            dst[di++] = sid.sub_authority_count;
            System.arraycopy(sid.identifier_authority, 0, dst, di, 6);
            di += 6;
            for (int ii = 0; ii < sid.sub_authority_count; ii++) {
                jcifs.util.Encdec.enc_uint32le(sid.sub_authority[ii], dst, di);
                di += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

                final Extractor[] existingExtractors = extractorMap.get(key);
    
                final Extractor[] newExtractors = new Extractor[existingExtractors.length + 1];
                System.arraycopy(existingExtractors, 0, newExtractors, 0, existingExtractors.length);
                newExtractors[newExtractors.length - 1] = extractor;
    
                Arrays.sort(newExtractors, Comparator.comparingInt(Extractor::getWeight).reversed());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top