Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 130 for ArrayCopy (0.15 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

            if (defaultWords == null) {
                updateDefaultBadwords();
            }
            final String[] concat = new String[defaultWords.length + badWords.length];
            System.arraycopy(badWords, 0, concat, 0, badWords.length);
            System.arraycopy(defaultWords, 0, concat, badWords.length, defaultWords.length);
            return concat;
        }
    
        public void add(final String badWord) {
            if (logger.isDebugEnabled()) {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            }
            return n;
        }
    
    
        public void writeOctetArray ( byte[] b, int i, int l ) {
            System.arraycopy(b, i, this.buf, this.index, l);
            advance(l);
        }
    
    
        public void readOctetArray ( byte[] b, int i, int l ) {
            System.arraycopy(this.buf, this.index, b, i, l);
            advance(l);
        }
    
    
        public int getLength () {
            return this.deferred.length;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

                i--;
            }
            return n;
        }
        public void writeOctetArray(byte[] b, int i, int l) {
            System.arraycopy(b, i, buf, index, l);
            advance(l);
        }
        public void readOctetArray(byte[] b, int i, int l) {
            System.arraycopy(buf, index, b, i, l);
            advance(l);
        }
    
    
        public int getLength() {
            return deferred.length;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top