Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 971 - 980 of 1,291 for results2 (0.15 seconds)

  1. guava/src/com/google/common/cache/LocalCache.java

        V result = get(key);
        return (result != null) ? result : defaultValue;
      }
    
      V getOrLoad(K key) throws ExecutionException {
        return get(key, defaultLoader);
      }
    
      ImmutableMap<K, V> getAllPresent(Iterable<?> keys) {
        int hits = 0;
        int misses = 0;
    
        ImmutableMap.Builder<K, V> result = ImmutableMap.builder();
        for (Object key : keys) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 19:35:11 GMT 2025
    - 148.9K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/encoder.md

    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
    
    The result of calling it is something that can be encoded with the Python standard <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            byte[] buffer = new byte[6];
            System.arraycopy("short".getBytes(), 0, buffer, 0, 5);
            buffer[5] = 0; // Null terminator
            String result = smb.readString(buffer, 0, 5, false);
            assertEquals("short", result);
        }
    
        @Test
        void testReadStringWithMaxLengthExceeded() {
            smb.useUnicode = false;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            when(ctx.getConfig()).thenReturn(cfg);
            SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx);
    
            // Act
            Configuration result = trace.getConfig();
    
            // Assert
            assertSame(cfg, result);
            verify(ctx, times(1)).getConfig();
        }
    
        @Test
        @DisplayName("hasCapability(): without session/tree throws SmbException")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. internal/pubsub/pubsub_test.go

    	ch3 := make(chan Maskable, 1)
    	doneCh := make(chan struct{})
    	defer close(doneCh)
    	// Mask matches maskString, should get result
    	if err := ps.Subscribe(Mask(1), ch1, doneCh, func(entry Maskable) bool { return true }); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	// Mask matches maskString, should get result
    	if err := ps.Subscribe(Mask(1|2), ch2, doneCh, func(entry Maskable) bool { return true }); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Aug 14 17:11:51 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

        }
    
        /**
         * Performs a search for synonym items based on the provided criteria.
         *
         * @param form the search form containing search criteria
         * @return HTML response with the search results
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse search(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.7K bytes
    - Click Count (1)
  7. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsPagingResultBean.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.config.allcommon;
    
    import org.apache.lucene.search.TotalHits;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.search.aggregations.Aggregations;
    
    /**
     * @param <ENTITY> The type of entity.
     * @author ESFlute (using FreeGen)
     */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/ModelUtils.java

         * <p>
         * Given:
         * <pre>
         * parent: X -&gt; A -&gt; B -&gt; D -&gt; E
         * child: Y -&gt; A -&gt; C -&gt; D -&gt; F
         * </pre>
         * Result:
         * <pre>
         * X -&gt; Y -&gt; A -&gt; B -&gt; C -&gt; D -&gt; E -&gt; F
         * </pre>
         */
        public static void mergePluginLists(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

                }
            }
        }
    
        private
        fun checkIndirectOutputContains(objectExpr: Expression, call: MethodCallExpression) {
            if (objectExpr is VariableExpression
                && objectExpr.name == "result"
            ) {
                val arg = AstUtil.getNodeText(call.arguments, sourceCode)
                addViolation(call, "Should use outputContains($arg) or failure.assertHasCause($arg) instead")
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/bigger-applications.md

    {* ../../docs_src/bigger_applications/app_an_py39/dependencies.py hl[3,6:8] title["app/dependencies.py"] *}
    
    /// tip
    
    We are using an invented header to simplify this example.
    
    But in real cases you will get better results using the integrated [Security utilities](security/index.md){.internal-link target=_blank}.
    
    ///
    
    ## Another module with `APIRouter` { #another-module-with-apirouter }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 18.6K bytes
    - Click Count (0)
Back to Top