Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1361 - 1370 of 1,801 for equals (0.08 seconds)

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

      }
    
      private static void assertByteArrayEquals(byte[] expected, byte[] actual) {
        assertWithMessage(
                "Expected: %s, but got: %s", Arrays.toString(expected), Arrays.toString(actual))
            .that(Arrays.equals(expected, actual))
            .isTrue();
      }
    
      public void testToByteArray() {
        assertByteArrayEquals(
            new byte[] {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19},
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  2. docs/changelogs/changelog_3x.md

    
    ## Version 3.1.0
    
    _2016-02-06_
    
     *  New: WebSockets now defer some writes. This should improve performance for
        some applications.
     *  New: Override `equals()` and `hashCode()` in our new cookie class. This
        class now defines equality by value rather than by reference.
     *  New: Handle 408 responses by retrying the request. This allows servers to
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/ByteStreams.java

            return false;
          } else if (read1 != BUFFER_SIZE) {
            return true;
          }
        }
      }
    
      // The Arrays.equals(<arraytype>, int, int, <arraytype>, int, int) methods were not added until
      // Java 9. This function is just returns the same result that
      // Arrays.equals(array1, 0, count, array2, 0, count) would. It assumes that both arrays have a
      // length of at least count.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
                    if (!item.equals(oldItem)) {
                        throw new DictionaryException("StemmerOverride file was updated: old=" + oldItem + " : new=" + item);
                    }
                    try {
                        if (!item.isDeleted()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            // We use a "custom" equivalence to force MapMaker to make a MapMakerInternalMap.
            ConcurrentMap<K, V> newMap = new MapMaker().keyEquivalence(Equivalence.equals()).makeMap();
            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
            return newMap;
          }
        },
        MapMakerStrongKeysWeakValues {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/base/Utf8Test.java

          assertEquals(isRoundTrippable, Utf8.isWellFormed(bytes, 0, numBytes));
          String s = new String(bytes, UTF_8);
          byte[] bytesReencoded = s.getBytes(UTF_8);
          boolean bytesEqual = Arrays.equals(bytes, bytesReencoded);
    
          if (bytesEqual != isRoundTrippable) {
            fail();
          }
          if (isRoundTrippable) {
            countRoundTripped++;
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/chat/ChatClient.java

                        final String newQuery = llmClientManager.regenerateQuery(userMessage, query, "no_results", history);
                        if (StringUtil.isNotBlank(newQuery) && !newQuery.equals(query)) {
                            logger.info("[RAG] Regenerated query. newQuery={}", newQuery);
                            searchResult = searchWithQueryAndMetadata(newQuery, safeFields, safeExtraQueries);
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

            }
          if (method != defaultMethod) {
            append(" \\\n  -X ${method.shellEscape()}")
          }
    
          // Append headers.
          for ((name, value) in headers) {
            if (contentType != null && name.equals("Content-Type", ignoreCase = true)) continue
            append(" \\\n  -H ${"$name: $value".shellEscape()}")
          }
    
          if (contentType != null) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  9. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertTrue(dest.contains("new1"));
            assertTrue(dest.contains("new2"));
            // Should not have duplicate "existing"
            assertEquals(1, dest.stream().filter(s -> s.equals("existing")).count());
        }
    
        @Test
        public void testConcatKinds() {
            // Test static concatKinds method
            SuggestItem.Kind[] kinds1 = { SuggestItem.Kind.QUERY };
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

            byte[] fileBytes = Files.readAllBytes(shaFile.toPath());
            String expectedSha = new String(fileBytes, StandardCharsets.UTF_8).trim();
    
            String sha = getSha1(jar);
    
            if (expectedSha.equals(sha) == false) {
                final String exceptionMessage = String.format(
                    Locale.ROOT,
                    "SHA has changed! Expected %s for %s but got %s."
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
Back to Top