Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 1,709 for result2 (0.05 seconds)

  1. docs_src/path_params_numeric_validations/tutorial001_an_py39.py

    async def read_items(
        item_id: Annotated[int, Path(title="The ID of the item to get")],
        q: Annotated[Union[str, None], Query(alias="item-query")] = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 388 bytes
    - Click Count (0)
  2. src/test/java/jcifs/ConfigTest.java

            InetAddress[] result = Config.getInetAddressArray(testProperties, "test.hosts", ",", defaultArray);
            assertEquals(2, result.length);
            assertEquals(InetAddress.getByName("localhost"), result[0]);
            assertEquals(InetAddress.getByName("127.0.0.1"), result[1]);
    
            result = Config.getInetAddressArray(testProperties, "nonexistent.hosts", ",", defaultArray);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. schema/serializer.go

    func (JSONSerializer) Value(ctx context.Context, field *Field, dst reflect.Value, fieldValue interface{}) (interface{}, error) {
    	result, err := json.Marshal(fieldValue)
    	if string(result) == "null" {
    		if field.TagSettings["NOT NULL"] != "" {
    			return "", nil
    		}
    		return nil, err
    	}
    	return string(result), err
    }
    
    // UnixSecondSerializer json serializer
    type UnixSecondSerializer struct{}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Oct 26 12:29:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. fastapi/security/api_key.py

        the key value sent in the query parameter automatically and provides it as the
        dependency result. But it doesn't define how to send that API key to the client.
    
        ## Usage
    
        Create an instance object and use that object as the dependency in `Depends()`.
    
        The dependency result will be a string containing the key value.
    
        ## Example
    
        ```python
        from fastapi import Depends, FastAPI
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  5. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            DeployRequest request = createDeployRequestWithConsumerPom();
    
            DeployRequest result = transformer.remapDeployArtifacts(session, request);
    
            // Should have both consumer POM (no classifier) and build POM (with "build" classifier)
            Collection<Artifact> artifacts = result.getArtifacts();
            assertEquals(3, artifacts.size()); // original jar + consumer pom + build pom
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        // DELETE /api/admin/failureurl/log/{id}
        /**
         * Deletes a failure URL log by ID.
         *
         * @param id the failure URL log ID to delete
         * @return JSON response with result status
         */
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/dfs/ReferralTest.java

            String result = referral.toString();
    
            assertTrue(result.contains("Referral["));
            assertTrue(result.contains("version=3"));
            assertTrue(result.contains("size=200")); // updated size
            assertTrue(result.contains("serverType=1"));
            assertTrue(result.contains("flags=0"));
            assertTrue(result.contains("proximity=10"));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  8. guava/src/com/google/common/io/ByteStreams.java

        if (bufs.isEmpty()) {
          return new byte[0];
        }
        byte[] result = bufs.remove();
        if (result.length == totalLen) {
          return result;
        }
        int remaining = totalLen - result.length;
        result = Arrays.copyOf(result, totalLen);
        while (remaining > 0) {
          byte[] buf = bufs.remove();
          int bytesToCopy = min(remaining, buf.length);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 31.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

                    }))
                    .status(ApiResult.Status.OK)
                    .result());
        }
    
        /**
         * Create a new protected words entry for the specified dictionary.
         *
         * @param dictId identifier of the dictionary
         * @param body create request payload
         * @return JSON response containing creation result and new entry ID
         */
        // POST /api/admin/dict/protwords/setting/{dictId}
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                        TestUtils.createMockContext(tempDir, TestUtils.createOptionsWithModelVersion("4.1.0"));
    
                // Execute apply goal
                int result = applyGoal.execute(context);
    
                // Verify success
                assertEquals(0, result, "Apply should succeed");
    
                // Verify POM was upgraded
                String upgradedPom = Files.readString(pomFile);
                assertTrue(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top