Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 286 for arrayCopy (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            byte[] buffer = new byte[1024]; // Large enough for contexts
    
            // Copy basic structure
            byte[] basic = createBasicNegotiateResponseBuffer();
            System.arraycopy(basic, 0, buffer, 0, basic.length);
    
            return buffer;
        }
    
        /**
         * Creates a completely valid negotiate response buffer for positive testing.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

        array[3] = e4;
        array[4] = e5;
        array[5] = e6;
        array[6] = e7;
        array[7] = e8;
        array[8] = e9;
        array[9] = e10;
        array[10] = e11;
        array[11] = e12;
        System.arraycopy(others, 0, array, 12, others.length);
        return construct(array);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order. If {@code elements} is a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Chars.java

        long length = 0;
        for (char[] array : arrays) {
          length += array.length;
        }
        char[] result = new char[checkNoOverflow(length)];
        int pos = 0;
        for (char[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      private static int checkNoOverflow(long result) {
        checkArgument(
            result == (int) result,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Shorts.java

        for (short[] array : arrays) {
          length += array.length;
        }
        short[] result = new short[checkNoOverflow(length)];
        int pos = 0;
        for (short[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      private static int checkNoOverflow(long result) {
        checkArgument(
            result == (int) result,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Shorts.java

        for (short[] array : arrays) {
          length += array.length;
        }
        short[] result = new short[checkNoOverflow(length)];
        int pos = 0;
        for (short[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      private static int checkNoOverflow(long result) {
        checkArgument(
            result == (int) result,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                    } else if (LogStream.level > 1) {
                        log.println("unknown resolver method: " + s);
                    }
                }
                resolveOrder = new int[i];
                System.arraycopy(tmp, 0, resolveOrder, 0, i);
            }
        }
    
        int getNextNameTrnId() {
            if ((++nextNameTrnId & 0xFFFF) == 0) {
                nextNameTrnId = 1;
            }
            return nextNameTrnId;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            if (roles == null || roles.length == 0) {
                this.roles = new String[] { SuggestConstants.DEFAULT_ROLE };
            } else {
                this.roles = new String[roles.length];
                System.arraycopy(roles, 0, this.roles, 0, roles.length);
            }
    
            this.languages = languages != null ? languages : new String[] {};
    
            kinds = new Kind[] { kind };
            if (userBoost > 1) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            resp.useUnicode = useUnicode;
            resp.extendedSecurity = (capabilities & CAP_EXTENDED_SECURITY) == CAP_EXTENDED_SECURITY;
    
            synchronized (BUF) {
                System.arraycopy(sbuf, 0, BUF, 0, 4 + HEADER_LENGTH);
                final int size = Encdec.dec_uint16be(BUF, 2) & 0xFFFF;
                if (size < HEADER_LENGTH + 1 || 4 + size > rcv_buf_size) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            case 0:
            case 1:
            case 2:
                byte[] signingKey = new byte[40];
                getUserSessionKey(tc, chlng, signingKey, 0);
                System.arraycopy(getUnicodeHash(tc, chlng), 0, signingKey, 16, 24);
                return signingKey;
            case 3:
            case 4:
            case 5:
                /*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                String testService = "A:";
                byte[] serviceBytes = testService.getBytes("ASCII");
                byte[] buffer = new byte[serviceBytes.length + 1];
                System.arraycopy(serviceBytes, 0, buffer, 0, serviceBytes.length);
                buffer[serviceBytes.length] = 0; // Null terminator
    
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top