Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 130 for ArrayCopy (0.15 sec)

  1. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

        }
      }
    
      private static Float[] concat(Float[] left, Float[] right) {
        Float[] result = new Float[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 TestFloatListGenerator implements TestListGenerator<Float> {
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

        }
      }
    
      private static Integer[] concat(Integer[] left, Integer[] right) {
        Integer[] result = new Integer[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 TestIntegerListGenerator implements TestListGenerator<Integer> {
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacDataInputStream.java

            byte[] sidBytes = new byte[8 + bytes.length];
            sidBytes[ 0 ] = 1;
            sidBytes[ 1 ] = (byte) ( bytes.length / 4 );
            System.arraycopy(new byte[] {
                0, 0, 0, 0, 0, 5
            }, 0, sidBytes, 2, 6);
            System.arraycopy(bytes, 0, sidBytes, 8, bytes.length);
    
            return new SID(sidBytes, 0);
        }
    
    
        public SID readSid () throws IOException, PACDecodingException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jul 21 21:19:58 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            dst[ dstIndex + 3 ] = this.queryFlags;
            dstIndex += 4;
            SMBUtil.writeInt4(this.fileIndex, dst, dstIndex);
            dstIndex += 4;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            int fnOffsetOffset = dstIndex;
            int fnLengthOffset = dstIndex + 2;
            dstIndex += 4;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        static byte[] readSecurityBuffer ( byte[] src, int index ) {
            int length = readUShort(src, index);
            int offset = readULong(src, index + 4);
            byte[] buffer = new byte[length];
            System.arraycopy(src, offset, buffer, 0, length);
            return buffer;
        }
    
    
        static void writeULong ( byte[] dest, int offset, int ulong ) {
            dest[ offset ] = (byte) ( ulong & 0xff );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ExtensibleDynamicObject.java

                delegates[idx++] = parent;
            }
            DynamicObject[] objects = new DynamicObject[idx];
            System.arraycopy(delegates, 0, objects, 0, idx);
            setObjects(objects);
    
            if (addedParent) {
                idx--;
                objects = new DynamicObject[idx];
                System.arraycopy(delegates, 0, objects, 0, idx);
                setObjectsForUpdate(objects);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:25:34 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/ByteEncodable.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            System.arraycopy(this.bytes, this.off, dst, dstIndex, this.len);
            return this.len;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            for ( DialectVersion ver : dvs ) {
                this.dialects[ i ] = ver.getDialect();
                i++;
            }
    
            if ( config.getMaximumVersion().atLeast(DialectVersion.SMB210) ) {
                System.arraycopy(config.getMachineId(), 0, this.clientGuid, 0, this.clientGuid.length);
            }
    
            List<NegotiateContextRequest> negoContexts = new LinkedList<>();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

        }
      }
    
      private static Integer[] concat(Integer[] left, Integer[] right) {
        Integer[] result = new Integer[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 TestIntegerListGenerator implements TestListGenerator<Integer> {
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                if ( isExternalAuth(pwAuth) ) {
                    dst[ dstIndex++ ] = (byte) 0x00;
                }
                else {
                    System.arraycopy(this.password, 0, dst, dstIndex, this.passwordLength);
                    dstIndex += this.passwordLength;
                }
            }
            else {
                // no password in tree connect
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
Back to top