Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 236 for ArrayCopy (0.26 sec)

  1. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                result = len > used ? used : len;
                if( used > i && result > i ) {
                    System.arraycopy( pipe_buf, beg_idx, b, off, i );
                    off += i;
                    System.arraycopy( pipe_buf, 0, b, off, result - i );
                } else {
                    System.arraycopy( pipe_buf, beg_idx, b, off, result );
                }
                used -= result;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          String[] prefix = {"f", "g"};
          String[] suffix = {"h", "i"};
    
          String[] all = new String[2 + elements.length + 2];
          System.arraycopy(prefix, 0, all, 0, 2);
          System.arraycopy(elements, 0, all, 2, elements.length);
          System.arraycopy(suffix, 0, all, 2 + elements.length, 2);
    
          return ImmutableList.copyOf(all).subList(2, elements.length + 2);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. test/linkx.go

    var tbd string
    var overwrite string = "dibs"
    
    var tbdcopy = tbd
    var overwritecopy = overwrite
    var arraycopy = [2]string{tbd, overwrite}
    
    var b bool
    var x int
    
    func main() {
    	fmt.Println(tbd)
    	fmt.Println(tbdcopy)
    	fmt.Println(arraycopy[0])
    
    	fmt.Println(overwrite)
    	fmt.Println(overwritecopy)
    	fmt.Println(arraycopy[1])
    
    	// Check non-string symbols are not overwritten.
    	// This also make them used.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 01 20:13:05 UTC 2019
    - 741 bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmUtil.java

            Encdec.enc_uint32le(0x00000000, temp, 4); // Reserved
            Encdec.enc_uint64le(nanos1601, temp, 8);
            System.arraycopy(clientChallenge, 0, temp, 16, 8);
            Encdec.enc_uint32le(0x00000000, temp, 24); // Unknown
            if ( avPairs != null )
                System.arraycopy(avPairs, 0, temp, 28, avPairsLength);
            Encdec.enc_uint32le(0x00000000, temp, 28 + avPairsLength); // mystery bytes!
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          String[] prefix = {"f", "g"};
          String[] suffix = {"h", "i"};
    
          String[] all = new String[2 + elements.length + 2];
          System.arraycopy(prefix, 0, all, 0, 2);
          System.arraycopy(elements, 0, all, 2, elements.length);
          System.arraycopy(suffix, 0, all, 2 + elements.length, 2);
    
          return ImmutableList.copyOf(all).subList(2, elements.length + 2);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 17 20:24:24 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type2Message.java

                offset += 2;
                System.arraycopy(domain, 0, targetInfo, offset, domainLength);
                offset += domainLength;
            }
            if ( serverLength > 0 ) {
                writeUShort(targetInfo, offset, 1);
                offset += 2;
                writeUShort(targetInfo, offset, serverLength);
                offset += 2;
                System.arraycopy(server, 0, targetInfo, offset, serverLength);
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 17 20:24:24 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/ArrayUtil.java

                return a;
            }
            @SuppressWarnings("unchecked")
            final T[] array = (T[]) Array.newInstance(a.getClass().getComponentType(), a.length + b.length);
            System.arraycopy(a, 0, array, 0, a.length);
            System.arraycopy(b, 0, array, a.length, b.length);
            return array;
        }
    
        /**
         * 二つの配列を連結した配列を返します。
         * <p>
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                ServerMessageBlock.writeInt4(signSequence, data, index);
                update(data, offset, length);
                System.arraycopy(digest(), 0, data, index, 8);
                if (bypass) {
                    bypass = false;
                    System.arraycopy("BSRSPYL ".getBytes(), 0, data, index, 8);
                }
            } catch (Exception ex) {
                if( log.level > 0 )
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7K bytes
    - Viewed (0)
Back to top