Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 1,187 for Different (0.07 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

            "multiset.entrySet.retainAll(missingEntry) returned true",
            getMultiset().entrySet().retainAll(singleton(Multisets.immutableEntry(e0(), 2))));
        assertFalse(
            "multiset contains element after retaining a different entry",
            getMultiset().contains(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @MultisetFeature.Require(ENTRIES_ARE_VIEWS)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 9.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                    int expectedSize = copy.size();
                    int actualEncoded = copy.encode(buffer, 0);
    
                    // Then
                    assertEquals(expectedSize, actualEncoded, "Size and encode methods return different values for " + numChunks + " chunks");
                }
            }
    
            @Test
            @DisplayName("Should handle large number of chunks")
            void testLargeNumberOfChunks() {
                // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of different types of map and related collections, such as keys, entries and values.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    public class MapGenerators {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            assertArrayEquals(secondData, secondResult);
        }
    
        @Test
        void testReadDataWireFormatWithOffset() throws SMBProtocolDecodingException {
            // Test reading data from different buffer offsets
            byte[] testData = "Test data with offset".getBytes();
            byte[] buffer = new byte[200];
            int offset = 50;
            System.arraycopy(testData, 0, buffer, offset, testData.length);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. ci/official/utilities/setup.sh

    set +e
    MAX_RETRIES=2
    for ((i=1; i <= $MAX_RETRIES; i++)); do
      tfrun bazel --version
    done
    set -e
    
    # Single handler for all cleanup actions, triggered on an EXIT trap.
    # TODO(angerson) Making this use different scripts may be overkill.
    cleanup() {
      if [[ "$TFCI_DOCKER_ENABLE" == 1 ]]; then
        ./ci/official/utilities/cleanup_docker.sh
      fi
      ./ci/official/utilities/cleanup_summary.sh
    }
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 09 18:37:25 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Queues.java

            buffer.add(e);
            added++;
          }
        }
        return added;
      }
    
      /**
       * Drains the queue as {@linkplain #drain(BlockingQueue, Collection, int, Duration)}, but with a
       * different behavior in case it is interrupted while waiting. In that case, the operation will
       * continue as usual, and in the end the thread's interruption status will be set (no {@code
       * InterruptedException} is thrown).
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 18K bytes
    - Click Count (0)
  7. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                RuntimeCIFSException exception = new RuntimeCIFSException(specialMessage);
                assertEquals(specialMessage, exception.getMessage());
            });
        }
    
        @Test
        @DisplayName("Should handle different cause types")
        void testVariousCauseTypes() {
            // Test with checked exception
            Exception checkedException = new java.io.IOException("IO Error");
            assertDoesNotThrow(() -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/llm/LlmClient.java

     */
    package org.codelibs.fess.llm;
    
    import java.util.List;
    import java.util.Map;
    
    /**
     * Interface for LLM (Large Language Model) clients.
     * Implementations provide integration with different LLM providers
     * such as Ollama, OpenAI, and Google Gemini.
     *
     * In addition to low-level chat operations, this interface defines
     * high-level RAG workflow methods that allow each provider to optimize
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                @Override
                public RescorerBuilder<?> evaluate(Map<String, Object> params) {
                    if (params == null) {
                        return null;
                    }
    
                    // Test different parameter types
                    if (params.containsKey("string") && params.get("string") instanceof String) {
                        return createMockRescorerBuilder();
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(m).isEqualTo(expected);
        assertThat(m.entrySet()).containsExactlyElementsIn(expected.entrySet()).inOrder();
      }
    
      public void testMapSplitter_characterSeparator() {
        // try different delimiters.
        Map<String, String> m =
            Splitter.on(",").withKeyValueSeparator(':').split("boy:tom,girl:tina,cat:kitty,dog:tommy");
        ImmutableMap<String, String> expected =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 29.7K bytes
    - Click Count (0)
Back to Top