- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for contentEquals (0.46 sec)
-
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
System.setProperty(PATH_SEPARATOR.key(), oldPathSeparator); System.setProperty(JAVA_CLASS_PATH.key(), oldClassPath); } } private static boolean contentEquals(URL left, URL right) throws IOException { return Resources.asByteSource(left).contentEquals(Resources.asByteSource(right)); } private static class Nested {} public void testNulls() throws IOException {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 26 14:02:27 GMT 2024 - 24.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
System.setProperty(PATH_SEPARATOR.key(), oldPathSeparator); System.setProperty(JAVA_CLASS_PATH.key(), oldClassPath); } } private static boolean contentEquals(URL left, URL right) throws IOException { return Resources.asByteSource(left).contentEquals(Resources.asByteSource(right)); } private static class Nested {} public void testNulls() throws IOException {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Jul 10 17:06:37 GMT 2023 - 27.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
rf.writeByte(0); rf.close(); assertEquals(asciiFile.length(), temp.length()); assertFalse(Files.equal(asciiFile, temp)); assertTrue(Files.asByteSource(asciiFile).contentEquals(Files.asByteSource(asciiFile))); // 0-length files have special treatment (/proc, etc.) assertTrue(Files.equal(asciiFile, new BadLengthFile(asciiFile, 0))); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
assertThat(MoreFiles.equal(fooPath, barPath)).isFalse(); assertThat(MoreFiles.equal(fooPath, fooPath)).isTrue(); assertThat(MoreFiles.asByteSource(fooPath).contentEquals(MoreFiles.asByteSource(fooPath))) .isTrue(); Path fooCopy = Files.copy(fooPath, fs.getPath("fooCopy")); assertThat(Files.isSameFile(fooPath, fooCopy)).isFalse();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 29 22:57:05 GMT 2024 - 27.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* compile-time. */ private static boolean isEquals(Member member) { if (!(member instanceof Method)) { return false; } Method method = (Method) member; if (!method.getName().contentEquals("equals")) { return false; } Class<?>[] parameters = method.getParameterTypes(); if (parameters.length != 1) { return false; } if (!parameters[0].equals(Object.class)) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 23.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* compile-time. */ private static boolean isEquals(Member member) { if (!(member instanceof Method)) { return false; } Method method = (Method) member; if (!method.getName().contentEquals("equals")) { return false; } Class<?>[] parameters = method.getParameterTypes(); if (parameters.length != 1) { return false; } if (!parameters[0].equals(Object.class)) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 22.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
rf.writeByte(0); rf.close(); assertEquals(asciiFile.length(), temp.length()); assertFalse(Files.equal(asciiFile, temp)); assertTrue(Files.asByteSource(asciiFile).contentEquals(Files.asByteSource(asciiFile))); // 0-length files have special treatment (/proc, etc.) assertTrue(Files.equal(asciiFile, new BadLengthFile(asciiFile, 0))); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
* source. * * @throws IOException if an I/O error occurs while reading from this source or {@code other} */ public boolean contentEquals(ByteSource other) throws IOException { checkNotNull(other); byte[] buf1 = createBuffer(); byte[] buf2 = createBuffer(); Closer closer = Closer.create(); try {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 26.2K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
static String[] getFilesFromExtensio(String, String[]); private static java.util.Vector blendFilesToVector(java.util.Vector, String[]); private static boolean isValidFile(String, String[]); public static void mkdir(String); public static boolean contentEquals(java.io.File, java.io.File) throws java.io.IOException; public static java.io.File toFile(java.net.URL); public static java.net.URL[] toURLs(java.io.File[]) throws java.io.IOException; public static String removeExtension(String); public static...
Archive - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 164.6K bytes - Viewed (0) -
maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
static String[] getFilesFromExtensio(String, String[]); private static java.util.Vector blendFilesToVector(java.util.Vector, String[]); private static boolean isValidFile(String, String[]); public static void mkdir(String); public static boolean contentEquals(java.io.File, java.io.File) throws java.io.IOException; public static java.io.File toFile(java.net.URL); public static java.net.URL[] toURLs(java.io.File[]) throws java.io.IOException; public static String removeExtension(String); public static...
Archive - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Oct 23 23:48:02 GMT 2009 - 164.6K bytes - Viewed (0)