Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 6,075 for expect (0.03 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        return new LinkedHashMap<>();
      }
    
      /**
       * Returns the platform preferred map implementation that preserves insertion order when used only
       * for insertions, with a hint for how many entries to expect.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> preservesInsertionOrderOnPutsMapWithExpectedSize(int expectedSize) {
        return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/UniAddressTest.java

            // Assert
            assertSame(dummy, ua.getAddress(), "constructor should store the supplied address");
        }
    
        @Test
        void constructorRejectsNull() {
            // Expect constructor to throw IllegalArgumentException when passed null
            assertThrows(IllegalArgumentException.class, () -> new UniAddress(null));
        }
    
        /* ---------------------------------------------------------------------
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Platform.java

        return CompactHashMap.create();
      }
    
      /**
       * Returns the platform preferred map implementation that preserves insertion order when used only
       * for insertions, with a hint for how many entries to expect.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> preservesInsertionOrderOnPutsMapWithExpectedSize(int expectedSize) {
        return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    func TestReadLineNewlines(t *testing.T) {
    	for _, e := range readLineNewlinesTests {
    		testReadLineNewlines(t, e.input, e.expect)
    	}
    }
    
    func testReadLineNewlines(t *testing.T, input string, expect []readLineResult) {
    	b := NewReaderSize(strings.NewReader(input), minReadBufferSize)
    	for i, e := range expect {
    		line, isPrefix, err := b.ReadLine()
    		if !bytes.Equal(line, e.line) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException {
    
        // The task thread waits for the latch, so we expect a timeout here.
        try {
          future.get(20, MILLISECONDS);
          fail("Should have timed out trying to get the value.");
        } catch (TimeoutException expected) {
        } finally {
          latch.countDown();
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. .github/DISCUSSION_TEMPLATE/questions.yml

            What is the problem, question, or error?
    
            Write a short description telling me what you are doing, what you expect to happen, and what is currently happening.
          placeholder: |
            * Open the browser and call the endpoint `/`.
            * It returns a JSON with `{"Hello": "World"}`.
            * But I expected it to return `{"Hello": "Sara"}`.
        validations:
          required: true
      - type: dropdown
        id: os
        attributes:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Aug 03 15:59:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Platform.java

        return new LinkedHashMap<>();
      }
    
      /**
       * Returns the platform preferred map implementation that preserves insertion order when used only
       * for insertions, with a hint for how many entries to expect.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> preservesInsertionOrderOnPutsMapWithExpectedSize(int expectedSize) {
        return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

           * Reference iterator returned a value, so we should expect the
           * same value from the target
           */
          assertEquals(referenceReturnValue, targetReturnValue);
    
          return;
        }
    
        if (targetException == null) {
          fail("Target failed to throw " + referenceException);
        }
    
        /*
         * Reference iterator threw an exception, so we should expect an acceptable
         * exception from the target.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/CredentialsInternalTest.java

        void createContext_edge_parameters_ok() throws Exception {
            TestCredentials creds = new TestCredentials("D", false, false, new Subject(), false);
            // Intentionally pass null/empty values for optional parameters; expect no exception
            SSPContext ctx1 = creds.createContext(mockContext, null, "", null, false);
            assertNotNull(ctx1);
        }
    
        @Nested
        @DisplayName("getSubject edge cases")
        class SubjectTests {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
      private static final class ThrowingIterator<E> implements Iterator<E> {
        private final RuntimeException ex;
    
        private ThrowingIterator(RuntimeException ex) {
          this.ex = ex;
        }
    
        @Override
        public boolean hasNext() {
          // IteratorTester doesn't expect exceptions for hasNext().
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top