Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5231 - 5240 of 5,421 for return (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    @DisplayName("FileEntry interface contract tests")
    class FileEntryTest {
    
        @Test
        @DisplayName("Mock returns configured values")
        void mockReturnsConfiguredValues() {
            FileEntry mock = mock(FileEntry.class);
            when(mock.getName()).thenReturn("test.txt");
            when(mock.getType()).thenReturn(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

                logger.debug("Crawling Access Exception at {}", urlQueue.getUrl(), e);
            } else if (e.isInfoEnabled()) {
                logger.info(e.getMessage());
            } else if (e.isWarnEnabled()) {
                logger.warn("Crawling Access Exception at " + urlQueue.getUrl(), e);
            } else if (e.isErrorEnabled()) {
                logger.error("Crawling Access Exception at " + urlQueue.getUrl(), e);
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. docs/metrics/healthcheck/README.md

      failureThreshold: 3
    ```
    
    ## Cluster probe
    
    ### Cluster-writeable probe
    
    The reply is '200 OK' if cluster has write quorum if not it returns '503 Service Unavailable'.
    
    ```
    curl http://minio1:9001/minio/health/cluster
    HTTP/1.1 503 Service Unavailable
    Accept-Ranges: bytes
    Content-Length: 0
    Server: MinIO
    Vary: Origin
    X-Amz-Bucket-Region: us-east-1
    X-Minio-Write-Quorum: 3
    X-Amz-Request-Id: 16239D6AB80EBECF
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jul 06 16:18:38 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SortedMultiset.java

      @Nullable Entry<E> lastEntry();
    
      @Nullable Entry<E> pollFirstEntry();
    
      @Nullable Entry<E> pollLastEntry();
    
      /**
       * Returns a {@link SortedSet} view of the distinct elements in this multiset. (Outside GWT, this
       * returns a {@code NavigableSet}.)
       */
      @Override
      SortedSet<E> elementSet();
    
      SortedMultiset<E> descendingMultiset();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // Then
            // getWinsServers() returns InetAddress[], not String
            InetAddress[] winsServers = testConfig.getWinsServers();
            assertNotNull(winsServers);
            assertEquals(1, winsServers.length);
            assertEquals("192.168.1.1", winsServers[0].getHostAddress());
    
            // getBroadcastAddress() returns InetAddress, not String
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertNotNull(info);
            assertTrue(info.toString().contains("endOfFile=" + endOfFile));
        }
    
        @Test
        @DisplayName("Test getFileInformationLevel returns correct value")
        void testGetFileInformationLevel() {
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel());
    
            // Test with parameterized constructor
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

        }
    
        @Test
        @DisplayName("Test getFileInformationLevel returns correct value")
        void testGetFileInformationLevel() {
            assertEquals(FileInformation.FILE_BASIC_INFO, fileBasicInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test getSize always returns 0")
        void testGetSize() {
            // Default instance
            assertEquals(0L, fileBasicInfo.getSize());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

            fileTypeHelper.add("text/plain", "text");
    
            assertEquals("pdf", fileTypeHelper.get("application/pdf"));
            assertEquals("text", fileTypeHelper.get("text/plain"));
    
            // Test non-existent mimetype returns default value
            assertEquals("others", fileTypeHelper.get("non/existent"));
        }
    
        public void test_get_withNullMimetype() {
            assertEquals("others", fileTypeHelper.get(null));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. .github/workflows/deploy-docs.yml

              merge-multiple: true
              github-token: ${{ secrets.GITHUB_TOKEN }}
              run-id: ${{ github.event.workflow_run.id }}
          - name: Deploy to Cloudflare Pages
            # hashFiles returns an empty string if there are no files
            if: hashFiles('./site/*')
            id: deploy
            env:
              PROJECT_NAME: fastapitiangolo
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/additional-status-codes.md

    Mas você também deseja aceitar novos itens. E quando os itens não existiam, ele os cria, e retorna o código de status HTTP 201 "Created.
    
    Para conseguir isso, importe `JSONResponse` e retorne o seu conteúdo diretamente, definindo o `status_code` que você deseja:
    
    {* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *}
    
    /// warning | Aviso
    
    Quando você retorna um `Response` diretamente, como no exemplo acima, ele será retornado diretamente.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top