Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for arraysEqual (0.04 sec)

  1. guava/src/com/google/common/io/ByteStreams.java

        byte[] buf1 = createBuffer();
        byte[] buf2 = createBuffer();
        while (true) {
          int read1 = read(in1, buf1, 0, BUFFER_SIZE);
          int read2 = read(in2, buf2, 0, BUFFER_SIZE);
          if (read1 != read2 || !arraysEqual(buf1, buf2, read1)) {
            return false;
          } else if (read1 != BUFFER_SIZE) {
            return true;
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
Back to top