Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 236 for ArrayCopy (0.31 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/util/Path.java

            if (path.segments.length == 0) {
                return this;
            }
            String[] concat = new String[segments.length + path.segments.length];
            System.arraycopy(segments, 0, concat, 0, segments.length);
            System.arraycopy(path.segments, 0, concat, segments.length, path.segments.length);
            return new Path(concat, absolute);
        }
    
        public String getPath() {
            if (fullPath == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 13:03:23 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/project/antbuilder/AntBuilderMemoryLeakTest.groovy

                    4.times {
                        // exponential grow to make it fail faster
                        Class[] dup = new Class[classes.length * 2]
                        System.arraycopy(classes, 0, dup, 0, classes.length)
                        System.arraycopy(classes, 0, dup, classes.length, classes.length)
                        classes = dup
                    }
                    i++
                }
            } catch (OutOfMemoryError e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 26 09:30:27 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                SMBUtil.writeInt4(this.signSequence, data, index);
                update(data, offset, length);
                System.arraycopy(digest(), 0, data, index, 8);
                if ( this.bypass ) {
                    this.bypass = false;
                    System.arraycopy("BSRSPYL ".getBytes(), 0, data, index, 8);
                }
            }
            catch ( Exception ex ) {
                log.error("Signature failed", ex);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/api/specs/AndSpec.java

                return new AndSpec<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 AndSpec<T>(combinedSpecs);
        }
    
        /**
         * Typed and() method for a single {@link Spec}.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:17:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            if ( this.blob != null ) {
                System.arraycopy(this.blob, 0, dst, dstIndex, this.blob.length);
                dstIndex += this.blob.length;
            }
            else {
                System.arraycopy(this.lmHash, 0, dst, dstIndex, this.lmHash.length);
                dstIndex += this.lmHash.length;
                System.arraycopy(this.ntHash, 0, dst, dstIndex, this.ntHash.length);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            int start = bufferIndex;
    
            if ((server.capabilities & CAP_EXTENDED_SECURITY) == 0) {
                server.encryptionKey = new byte[server.encryptionKeyLength];
                System.arraycopy( buffer, bufferIndex,
                        server.encryptionKey, 0, server.encryptionKeyLength );
                bufferIndex += server.encryptionKeyLength;
                if( byteCount > server.encryptionKeyLength ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                    }
                    foundEnd = true;
                    break;
                }
    
                byte[] raw = new byte[avLen];
                System.arraycopy(data, pos, raw, 0, avLen);
                pairs.add(parseAvPair(avId, raw));
    
                pos += avLen;
            }
            if ( !foundEnd ) {
                throw new CIFSException("Missing AvEOL");
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

            numberOfNames = src[srcIndex++] & 0xFF;
            // gotta read the mac first so we can populate addressArray with it
            System.arraycopy( src, srcIndex + namesLength, macAddress, 0, 6 );
            srcIndex += readNodeNameArray( src, srcIndex );
            stats = new byte[statsLength];
            System.arraycopy( src, srcIndex, stats, 0, statsLength );
            srcIndex += statsLength;
            return srcIndex - start;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

                System.arraycopy( buffer, bufferIndex, txn_buf,
                                bufParameterStart + parameterDisplacement, parameterCount );
                bufferIndex += parameterCount;
            }
            if( dataCount > 0 ) {
                bufferIndex += pad1 = dataOffset - ( bufferIndex - headerStart );
                System.arraycopy( buffer, bufferIndex, txn_buf,
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        Object[] array = new Object[paramCount + others.length];
        arrayCopy(array, 0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12);
        arrayCopy(array, paramCount, others);
        return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(array));
      }
    
      private static void arrayCopy(Object[] dest, int pos, Object... source) {
        System.arraycopy(source, 0, dest, pos, source.length);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top