Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 394 for swapped (0.04 sec)

  1. guava/src/com/google/common/collect/ImmutableMultiset.java

       * the result of applying {@code countFunction} to the inputs.
       *
       * <p>If the mapped elements contain duplicates (according to {@link Object#equals}), the first
       * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of
       * the outputs of {@code countFunction.applyAsInt(t)} for each {@code t} mapped to that element.
       *
       * @since 22.0
       */
      public static <T extends @Nullable Object, E>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, infoLevel);
    
            byte[] buffer = new byte[512];
            trans2QueryPathInfo.writeParametersWireFormat(buffer, 0);
    
            // Check mapped information level
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(expectedMappedValue, actualInfoLevel);
        }
    
        @Test
        void testWriteDataWireFormat() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTreeTest.java

         * Test for unwrap with nested wrapping.
         * Verifies that unwrap works correctly with multiple levels of wrapping.
         */
        @Test
        void testUnwrap_nestedWrapping() {
            // Create a chain of wrapped trees
            CustomSmbTree innerTree = mock(CustomSmbTree.class);
            ExtendedSmbTree middleTree = mock(ExtendedSmbTree.class);
    
            when(smbTree.unwrap(ExtendedSmbTree.class)).thenReturn(middleTree);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

            } catch (final Exception e) {
                return false;
            }
        }
    
        /**
         * Formats an IP address string for use in a URL.
         * IPv6 addresses are wrapped in brackets, IPv4 addresses are returned as-is.
         *
         * @param address the IP address string to format
         * @return the formatted address (IPv6 with brackets, IPv4 unchanged)
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SpnegoContextTest.java

            ctx.setMechs(updated);
            assertArrayEquals(updated, ctx.getMechs());
        }
    
        @Test
        @DisplayName("toString includes wrapped mechanism context")
        void testToString() {
            SpnegoContext ctx = newContext();
            when(this.mechContext.toString()).thenReturn("MECHCTX");
            assertEquals("SPNEGO[MECHCTX]", ctx.toString());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

             *
             * @return a stream of all phases
             */
            @Nonnull
            Stream<Phase> allPhases();
        }
    
        /**
         * A phase alias, mostly used to support the Maven 3 phases which are mapped
         * to dynamic phases in Maven 4.
         */
        interface Alias {
            /**
             * Returns the Maven 3 phase name.
             *
             * @return the Maven 3 phase name
             */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheBuilder.java

     *       divided into segments, each of which does LRU internally)
     *   <li>time-based expiration of entries, measured since last access or last write
     *   <li>keys automatically wrapped in {@linkplain WeakReference weak} references
     *   <li>values automatically wrapped in {@linkplain WeakReference weak} or {@linkplain
     *       SoftReference soft} references
     *   <li>notification of evicted (or otherwise removed) entries
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  8. tests/benchmarks/test_general_performance.py

    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    if "--codspeed" not in sys.argv:
        pytest.skip(
            "Benchmark tests are skipped by default; run with --codspeed.",
            allow_module_level=True,
        )
    
    LARGE_ITEMS: list[dict[str, Any]] = [
        {
            "id": i,
            "name": f"item-{i}",
            "values": list(range(25)),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 20:40:26 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                    fos = new FileOutputStream(newFile);
                    writer = new BufferedWriter(new OutputStreamWriter(fos, Constants.UTF_8));
                    fos = null; // Successfully wrapped, no need to close explicitly
                } catch (final Exception e) {
                    if (fos != null) {
                        try {
                            fos.close();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java

            } catch (ChildUrlsException e) {
                Set<RequestData> childUrls = e.getChildUrlList();
                assertNotNull(childUrls);
                // Should only contain valid URLs, null entries should be skipped
                assertTrue(childUrls.size() <= 2);
            }
        }
    
        public void test_processException() {
            // Setup - test exception handling during parsing
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top