Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 686 for clears (0.07 sec)

  1. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            }
        }
    
        // Test getValueFromMap private method via reflection
        public void test_getValueFromMap() throws Exception {
            Method method = Crawler.class.getDeclaredMethod("getValueFromMap", Map.class, String.class, String.class);
            method.setAccessible(true);
    
            Map<String, String> dataMap = new HashMap<>();
            dataMap.put("key1", "value1");
            dataMap.put("key2", "");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

            assertEquals(initialSize - 1, map.size());
          } else {
            assertThrows(UnsupportedOperationException.class, () -> map.remove(keyToRemove));
          }
          assertInvariants(map);
        }
      }
    
      abstract static class RowMapTests extends MapMapTests {
        RowMapTests(
            boolean allowsNullValues,
            boolean supportsRemove,
            boolean supportsClear,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                    assertEquals(0, bytesWritten, "Failed at iteration " + i);
                }
            }
        }
    
        @Nested
        @DisplayName("Error handling tests")
        class ErrorHandlingTests {
    
            @Test
            @DisplayName("Should provide clear error message for invalid structure size")
            void testClearErrorMessage() {
                // Given
                byte[] buffer = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

        requestedUris.add(uri)
        return proxies
      }
    
      fun assertRequests(vararg expectedUris: URI?) {
        assertThat(requestedUris).containsExactly(*expectedUris)
        requestedUris.clear()
      }
    
      override fun connectFailed(
        uri: URI,
        sa: SocketAddress,
        ioe: IOException,
      ) {
        val socketAddress = sa as InetSocketAddress
        failures.add(format("%s %s:%d %s", uri, socketAddress, socketAddress.port, ioe.message!!))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/40_contributor_documentation.yml

            If you need help with Gradle or have a usage question, please reach [our community](http://help.gradle.org/) instead of creating an issue.
    
            If you found a clear typo, please open a PR with a fix instead of opening an issue.
    
      - type: dropdown
        id: issue-type
        attributes:
          label: Issue type
          options:
            - Wrong or misleading information
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Jan 15 10:01:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

        int oldCapacity = links.length;
        links = Arrays.copyOf(links, newCapacity);
        Arrays.fill(links, oldCapacity, newCapacity, UNSET);
      }
    
      @Override
      public void clear() {
        super.clear();
        this.firstEntry = ENDPOINT;
        this.lastEntry = ENDPOINT;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            // Invalid integer should use default
            props.clear();
            props.setProperty("jcifs.smb.client.maxChannels", "invalid");
            config = new PropertyConfiguration(props);
            assertEquals(4, config.getMaxChannels());
    
            // Invalid channel binding policy should default to preferred
            props.clear();
            props.setProperty("jcifs.smb.client.channelBindingPolicy", "invalid");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/context/SingletonContextTest.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    
    class SingletonContextTest {
    
        private static final Logger log = LoggerFactory.getLogger(SingletonContextTest.class);
    
        // Use reflection to reset the singleton instance between tests
        @BeforeEach
        @AfterEach
        void resetSingleton() {
            try {
                Field instance = SingletonContext.class.getDeclaredField("INSTANCE");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            while (from.read(buf) != -1) {
              ((Buffer) buf).flip();
              to.append(buf);
              total += buf.remaining();
              ((Buffer) buf).clear();
            }
            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/advanced-dependencies.md

    ## A "callable" instance { #a-callable-instance }
    
    In Python there's a way to make an instance of a class a "callable".
    
    Not the class itself (which is already a callable), but an instance of that class.
    
    To do that, we declare a method `__call__`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top