Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,238 for some (0.7 sec)

  1. android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

      }
    
      public void testFileTraverser_file() throws Exception {
        File file = newFile("some-file");
    
        assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file);
      }
    
      public void testFileTraverser_singleFile() throws Exception {
        File file = newFile("some-file");
    
        assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir, file);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. cmd/os-reliable.go

    			// directory" error message. Handle this specifically
    			// here.
    			return errFileAccessDenied
    		}
    	}
    	return err
    }
    
    // Reliably retries os.RemoveAll if for some reason os.RemoveAll returns
    // syscall.ENOTEMPTY (children has files).
    func reliableRemoveAll(dirPath string) (err error) {
    	i := 0
    	for {
    		// Removes all the directories and files.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/extra-data-types.md

    * `bool`
    
    But you can also use more complex data types.
    
    And you will still have the same features as seen up to now:
    
    * Great editor support.
    * Data conversion from incoming requests.
    * Data conversion for response data.
    * Data validation.
    * Automatic annotation and documentation.
    
    ## Other data types { #other-data-types }
    
    Here are some of the additional data types you can use:
    
    * `UUID`:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_fields/test_tutorial001.py

                    "price": 0.2,
                    "description": "Some bar",
                    "tax": "5.4",
                }
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 6,
            "item": {
                "name": "Bar",
                "price": 0.2,
                "description": "Some bar",
                "tax": 5.4,
            },
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

            )
    
            failureConditions {
                // JavaExecDebugIntegrationTest.debug session fails without debugger might cause JVM crash
                // Some soak tests produce OOM exceptions
                // There are also random worker crashes for some tests.
                // We have test-retry to handle the crash in tests
                javaCrash = false
            }
        })
    
    fun getTestTaskName(
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 09 05:26:45 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-model.md

    ///
    
    And we are using this model to declare our input and the same model to declare our output:
    
    {* ../../docs_src/response_model/tutorial002_py310.py hl[16] *}
    
    Now, whenever a browser is creating a user with a password, the API will return the same password in the response.
    
    In this case, it might not be a problem, because it's the same user sending the password.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

            assertFalse(result.getContent().isEmpty());
        }
    
        /**
         * Test that ZipExtractor handles mixed valid and invalid entries gracefully.
         * Should continue processing valid entries even when some fail.
         */
        public void test_ZipExtractor_mixedEntries_continuesProcessing() throws IOException {
            // Create a ZIP with one valid text file
            final ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.JAPANESE);
            final SQLException sqlException = new SQLException("some reason", "fooState", 7650);
            final SQLException sqlException2 = new SQLException("hoge reason", "barState", 7660);
            final SQLException sqlException3 = new SQLException("fuga reason", "bazState", 7670);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body/test_tutorial004.py

        response = client.put(
            "/items/123",
            json={"name": "Foo", "price": 50.1, "description": "Some Foo", "tax": 0.3},
            params={"q": "somequery"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 123,
            "name": "Foo",
            "price": 50.1,
            "description": "Some Foo",
            "tax": 0.3,
            "q": "somequery",
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

            List<Artifact> artifacts = new ArrayList<Artifact>();
    
            Artifact artifact = mock(Artifact.class);
            when(artifact.getFile()).thenReturn(new File(new File("local/repository"), "some/path"));
            when(artifact.getGroupId()).thenReturn("group1");
            when(artifact.getArtifactId()).thenReturn("artifact1");
            when(artifact.getExtension()).thenReturn("ext");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top