Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3821 - 3830 of 4,556 for true (0.02 seconds)

  1. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        @Test
        public void test_append_booleanValue() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> Boolean.TRUE;
    
            monitorTarget.append(buf, "boolKey", supplier);
            assertEquals("\"boolKey\":\"true\"", buf.toString());
        }
    
        // Test append method with Date value (other object type)
        @Test
        public void test_append_dateValue() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

         *
         * @throws IllegalStateException if this is a Network Interceptor, since the override is too late.
         */
        fun withSocketFactory(socketFactory: SocketFactory): Chain
    
        /**
         * Returns true if the call should retry on connection failures.
         */
        val retryOnConnectionFailure: Boolean
    
        /**
         * Returns a new chain with the specified retry on connection failure setting.
         */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

              throw new AssertionError();
            }
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        RoundToDoubleTester roundUnnecessaryShouldThrow() {
          unnecessaryShouldThrow = true;
          return this;
        }
    
        void test() {
          assertThat(expectedValues.keySet())
              .containsAtLeastElementsIn(EnumSet.complementOf(EnumSet.of(UNNECESSARY)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/EnumMultiset.java

        int toRemove = -1;
    
        abstract T output(int index);
    
        @Override
        public boolean hasNext() {
          for (; index < enumConstants.length; index++) {
            if (counts[index] > 0) {
              return true;
            }
          }
          return false;
        }
    
        @Override
        public T next() {
          if (!hasNext()) {
            throw new NoSuchElementException();
          }
          T result = output(index);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            boolean foundTestMethod = false;
            for (StackTraceElement element : stackTrace) {
                if (element.getMethodName().equals("test_stackTrace")) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        @Test
        public void test_nestedExceptions() {
            // Test nested exception handling
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/body-multiple-params.md

    But if you want it to expect a JSON with a key `item` and inside of it the model contents, as it does when you declare extra body parameters, you can use the special `Body` parameter `embed`:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    as in:
    
    {* ../../docs_src/body_multiple_params/tutorial005_an_py310.py hl[17] *}
    
    
    In this case **FastAPI** will expect a body like:
    
    ```JSON hl_lines="2"
    {
        "item": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            MockitoAnnotations.openMocks(this);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65535);
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
            when(mockConfig.isUseUnicode()).thenReturn(true);
            when(mockConfig.isForceUnicode()).thenReturn(false);
            when(mockConfig.getOemEncoding()).thenReturn("ASCII");
        }
    
        @Test
        @DisplayName("Test constructor with standard path")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                    Collections.singletonList(ArtifactDescriptorUtils.toRemoteRepository(repository));
    
            this.repositories = remoteRepositoryManager.aggregateRepositories(session, repositories, newRepositories, true);
        }
    
        private static void removeMatchingRepository(Iterable<RemoteRepository> repositories, final String id) {
            Iterator<RemoteRepository> iterator = repositories.iterator();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

        private File docRoot;
    
        private Server server;
    
        private boolean tempDocRoot = false;
    
        public CrawlerWebServer(final int port) {
            this(port, createDocRoot(3, port));
            tempDocRoot = true;
        }
    
        public CrawlerWebServer(final int port, final File docRoot) {
            this.docRoot = docRoot;
    
            server = new Server(port);
    
            final ResourceHandler resourceHandler = new ResourceHandler();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  10. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                try {
                    updateFileIfChanged();
                } catch (Exception e) {
                    logError("Error updating file", e);
                }
            }
    
            return true;
        }
    
        /**
         * Gets the fully qualified class name for a type element, including handling inner classes.
         *
         * @param typeElement the type element to get the class name for
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top