Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 130 for ArrayCopy (0.12 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            System.arraycopy(data, offset + SIGNATURE_OFFSET, sig, 0, SIGNATURE_LENGTH);
    
            int index = offset + SIGNATURE_OFFSET;
            for ( int i = 0; i < SIGNATURE_LENGTH; i++ )
                data[ index + i ] = 0;
    
            this.digest.update(data, offset, length);
    
            byte[] cmp = new byte[SIGNATURE_LENGTH];
            System.arraycopy(this.digest.doFinal(), 0, cmp, 0, SIGNATURE_LENGTH);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/api/specs/OrSpec.java

                return new OrSpec<T>(specs);
            }
            Spec<? super T>[] combinedSpecs = uncheckedCast(ObjectArrays.newArray(Spec.class, thisLength + specs.length));
            System.arraycopy(thisSpecs, 0, combinedSpecs, 0, thisLength);
            System.arraycopy(specs, 0, combinedSpecs, thisLength, specs.length);
            return new OrSpec<T>(combinedSpecs);
        }
    
        public static <T> OrSpec<T> empty() {
            return uncheckedCast(EMPTY);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/testing/internal/util/GradlewRunner.java

                combinedArgs[3] = new File("gradlew").getAbsolutePath();
                System.arraycopy(args, 0, combinedArgs, 4, args.length);
            } else {
                combinedArgs = new String[1 + args.length];
                File gradlew = new File("gradlew");
                combinedArgs[0] = gradlew.getAbsolutePath();
                System.arraycopy(args, 0, combinedArgs, 1, args.length);
            }
    
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/initialization/buildsrc/BuildSrcDetector.java

            String[] buildFileNames = getValidBuildFileNames();
    
            GRADLE_BUILD_FILES = new String[settingsFileNames.length + buildFileNames.length];
            System.arraycopy(settingsFileNames, 0, GRADLE_BUILD_FILES, 0, settingsFileNames.length);
            System.arraycopy(buildFileNames, 0, GRADLE_BUILD_FILES, settingsFileNames.length, buildFileNames.length);
        }
    
        public static boolean isValidBuildSrcBuild(File buildSrcDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/Hexdump.java

                ci += 5;
                c[ci++] = ':';
                do {
                    if( si == length ) {
                        int n = 16 - s;
                        System.arraycopy( SPACE_CHARS, 0, c, ci, n * 3 );
                        ci += n * 3;
                        System.arraycopy( SPACE_CHARS, 0, d, s, n );
                        break;
                    }
                    c[ci++] = ' ';
                    i = src[srcIndex + si] & 0xFF;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

            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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ObjectArrays.java

      public static <T extends @Nullable Object> T[] concat(
          T[] first, T[] second, Class<@NonNull T> type) {
        T[] result = newArray(type, first.length + second.length);
        System.arraycopy(first, 0, result, 0, first.length);
        System.arraycopy(second, 0, result, first.length, second.length);
        return result;
      }
    
      /**
       * Returns a new array that prepends {@code element} to {@code array}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 12 15:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

            // all fixed inputs go into the suffix:
            // + label
            System.arraycopy(label, 0, suffix, 0, label.length);
            // + 1 byte 0x00
            // + context
            System.arraycopy(context, 0, suffix, label.length + 1, context.length);
            // + 4 byte (== r bits) big endian encoding of L
            suffix[ suffix.length - 1 ] = (byte) 128;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            bufferIndex += 8;
            bufferIndex += 8;
    
            int nameLen = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            byte[] nameBytes = new byte[nameLen];
            System.arraycopy(buffer, bufferIndex, nameBytes, 0, nameBytes.length);
            bufferIndex += nameLen;
            this.fileName = new String(nameBytes, StandardCharsets.UTF_16LE);
            return bufferIndex - start;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  10. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.8K bytes
    - Viewed (0)
Back to top