Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 284 for arrayCopy (0.06 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/Name.java

                dst[dstIndex] = (byte) 0x00;
                return 1;
            }
    
            // copy new scope in
            dst[dstIndex] = (byte) '.';
            dstIndex++;
            System.arraycopy(Strings.getOEMBytes(this.scope, this.config), 0, dst, dstIndex, this.scope.length());
            dstIndex += this.scope.length();
    
            dst[dstIndex++] = (byte) 0x00;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

      static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
        T[] result = newArray(arrayOfType, to - from);
        System.arraycopy(source, from, result, 0, to - from);
        return result;
      }
    
      // TODO(user): Move this logic to a utility class.
      @JsType(isNative = true, name = "Array", namespace = JsPackage.GLOBAL)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/Pac.java

                        throw new PACDecodingException("Unaligned buffer " + bufferType);
                    }
    
                    byte[] bufferData = new byte[bufferSize];
                    System.arraycopy(data, (int) bufferOffset, bufferData, 0, bufferSize);
    
                    switch (bufferType) {
                    case PacConstants.LOGON_INFO:
                        // PAC Credential Information
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            final int start = dstIndex;
            SMBUtil.writeInt2(57, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.controlCode, dst, dstIndex);
            dstIndex += 4;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            final int inputOffsetOffset = dstIndex;
            dstIndex += 4;
            final int inputLengthOffset = dstIndex;
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableCollection.java

        }
    
        final void addAll(@Nullable Object[] elements, int n) {
          checkElementsNotNull(elements, n);
          ensureRoomFor(n);
          /*
           * The following call is not statically checked, since arraycopy accepts plain Object for its
           * parameters. If it were statically checked, the checker would still be OK with it, since
           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

            void testConstructor_ByteArray_InvalidMessageType() {
                // Given
                byte[] invalidType = new byte[100];
                System.arraycopy(Type2Message.NTLMSSP_SIGNATURE, 0, invalidType, 0, Type2Message.NTLMSSP_SIGNATURE.length);
                // Set message type to something other than NTLMSSP_TYPE2
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top