Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1991 - 2000 of 3,032 for strike (0.04 seconds)

  1. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            @DisplayName("Should create mock with string name")
            void testMockWithStringName() {
                String nameStr = "MOCK_CONTEXT";
                MockCreateContextResponse mock = new MockCreateContextResponse(nameStr);
    
                assertArrayEquals(nameStr.getBytes(StandardCharsets.UTF_8), mock.getName());
            }
    
            @Test
            @DisplayName("Should handle null string name")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/path-params.md

    ```JSON
    {"item_id":3}
    ```
    
    /// check | Verifique
    Perceba que o valor que sua função recebeu (e retornou) é `3`, como um `int` do Python, não uma string `"3"`.
    
    Então, com essa declaração de tipo, o **FastAPI** fornece <dfn title="convertendo a string que vem de um request HTTP em dados Python">"parsing"</dfn> automático do request.
    ///
    
    ## Validação de dados { #data-validation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         */
        private final Map<String, List<Method>> methodByNameMap = new Hashtable<>();
    
        /**
         * Add a method to a list of methods by name.
         * For a particular class we are keeping track
         * of all the methods with the same name.
         *
         * @param method The method
         */
        void add(Method method) {
            String methodName = method.getName();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  4. cmd/erasure-metadata-utils.go

    // the 'writeQuorum' this function returns '0' if quorum cannot
    // be achieved and disks have too many inconsistent versions.
    func reduceCommonDataDir(dataDirs []string, writeQuorum int) (dataDir string) {
    	dataDirsCount := make(map[string]int)
    	for _, ddir := range dataDirs {
    		dataDirsCount[ddir]++
    	}
    
    	maxCnt := 0
    	for ddir, count := range dataDirsCount {
    		if maxCnt < count {
    			maxCnt = count
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. docs/changelogs/changelog_2x.md

     *  Fix: Don't throw when converting an `HttpUrl` to a `java.net.URI`.
        Previously URLs with special characters like `|` and `[` would break when
        subjected to URI’s overly-strict validation.
     *  Fix: Don't re-encode `+` as `%20` in encoded URL query strings. OkHttp
        prefers `%20` when doing its own encoding, but will retain `+` when that is
        provided.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

        }
    
      fun validateCloseCode(code: Int) {
        val message = closeCodeExceptionMessage(code)
        require(message == null) { message!! }
      }
    
      fun acceptHeader(key: String): String = (key + ACCEPT_MAGIC).encodeUtf8().sha1().base64()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/netbios/Lmhosts.java

         *
         * @param host the hostname to resolve
         * @param tc the CIFS context
         * @return resolved name, null if not found
         */
        public synchronized NbtAddress getByName(final String host, final CIFSContext tc) {
            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
        synchronized NbtAddress getByName(final Name name, final CIFSContext tc) {
            NbtAddress result = null;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            assertEquals("4.0.0", project4.getModelVersion());
    
            Build build = project4.getBuild();
            List<Plugin> plugins = build.getPlugins();
    
            Map<String, Integer> validPluginCounts = new HashMap<>();
    
            String testPluginArtifactId = "maven-compiler-plugin";
    
            // this is the plugin we're looking for.
            validPluginCounts.put(testPluginArtifactId, 0);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 04 10:35:11 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

            Profile p = Profile.newBuilder().activation(a).build();
    
            return p;
        }
    
        private Properties newProperties(String osName, String osVersion, String osArch) {
            Properties props = new Properties();
            props.setProperty("os.name", osName);
            props.setProperty("os.version", osVersion);
            props.setProperty("os.arch", osArch);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestResourcesPlugin.java

     * @see CopyRestApiTask
     * @see CopyRestTestsTask
     */
    public class RestResourcesPlugin implements Plugin<Project> {
    
        public static final String COPY_YAML_TESTS_TASK = "copyYamlTestsTask";
        public static final String COPY_REST_API_SPECS_TASK = "copyRestApiSpecsTask";
        private static final String EXTENSION_NAME = "restResources";
    
        @Override
        public void apply(Project project) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 23 09:36:58 GMT 2021
    - 6.4K bytes
    - Click Count (0)
Back to Top