Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 286 for arrayCopy (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

                    SMBUtil.writeInt2(hashAlgo, dst, dstIndex);
                    dstIndex += 2;
                }
            }
    
            if (this.salt != null) {
                System.arraycopy(this.salt, 0, dst, dstIndex, this.salt.length);
                dstIndex += this.salt.length;
            }
    
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

        }
      }
    
      private static Double[] concat(Double[] left, Double[] right) {
        Double[] result = new Double[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
      public abstract static class TestDoubleListGenerator implements TestListGenerator<Double> {
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                    throw new RuntimeException("Failed to create Mac instance", e);
                }
    
                mac.update(data, offset, length);
                final byte[] sig = mac.doFinal();
                System.arraycopy(sig, 0, data, offset + SIGNATURE_OFFSET, SIGNATURE_LENGTH);
            } finally {
                this.signingLock.unlock();
            }
        }
    
        /**
         *
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableList.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkElementIndex;
    import static java.lang.System.arraycopy;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            }
            byte[] packet = new byte[totalLen];
            System.arraycopy(header, 0, packet, 0, header.length);
            System.arraycopy(body, 0, packet, SMB2_HEADER_LENGTH, body.length);
            if (ctxOffsetFromHeader != null && ctxBytes != null) {
                System.arraycopy(ctxBytes, 0, packet, ctxOffsetFromHeader, ctxBytes.length);
            }
            return packet;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
            System.arraycopy(strCopy, 0, array, pos, strCopyLen);
            pos += strCopyLen;
          }
          count >>= 1;
          if (count != 0) {
            System.arraycopy(strCopy, 0, strCopy, strCopyLen, strCopyLen);
            strCopyLen <<= 1;
          }
        }
        return new String(array);
      }
    
      @Benchmark
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/EncdecTest.java

            byte[] buffer = new byte[testString.length()];
    
            // When - Manual string encoding using individual bytes
            byte[] strBytes = testString.getBytes();
            System.arraycopy(strBytes, 0, buffer, 0, strBytes.length);
    
            // Then
            String decoded = new String(buffer);
            assertEquals(testString, decoded);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

            final int start = dstIndex;
    
            if (blob != null) {
                System.arraycopy(blob, 0, dst, dstIndex, blob.length);
                dstIndex += blob.length;
            } else {
                System.arraycopy(lmHash, 0, dst, dstIndex, lmHash.length);
                dstIndex += lmHash.length;
                System.arraycopy(ntHash, 0, dst, dstIndex, ntHash.length);
                dstIndex += ntHash.length;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. docs/smb3-features/02-persistent-handles-design.md

            writeInt4(buffer, offset + 12, 16);  // DataLength
            
            // Name
            System.arraycopy(getName().getBytes(), 0, buffer, offset + 16, nameLen);
            
            // Data (16-byte file ID)
            int dataOffset = offset + 16 + nameLen;
            dataOffset = (dataOffset + 7) & ~7;  // 8-byte alignment
            System.arraycopy(fileId, 0, buffer, dataOffset, 16);
        }
    }
    ```
    
    ### 4.5 Persistent Handle Manager
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NodeStatusResponse.java

            srcIndex++;
            // gotta read the mac first so we can populate addressArray with it
            System.arraycopy(src, srcIndex + namesLength, this.macAddress, 0, 6);
            srcIndex += readNodeNameArray(src, srcIndex);
            this.stats = new byte[statsLength];
            System.arraycopy(src, srcIndex, this.stats, 0, statsLength);
            srcIndex += statsLength;
            return srcIndex - start;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top