Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 354 for swapped (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

          i += 2
        }
      }
      return result.readUtf8()
    }
    
    /**
     * Returns the canonical address for [address]. If [address] is an IPv6 address that is mapped to an
     * IPv4 address, this returns the IPv4-mapped address. Otherwise, this returns [address].
     *
     * https://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses
     */
    internal fun canonicalizeInetAddress(address: ByteArray): ByteArray =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                bb.putShort((short) 0); // pathConsumed (will be divided by 2)
                bb.putShort((short) 0); // numReferrals
                bb.putShort((short) 0); // tflags
                bb.putShort((short) 0); // tflags high bytes (skipped in decode)
    
                int bytesDecoded = buffer.decode(testBuffer, 0, testBuffer.length);
    
                assertEquals(8, bytesDecoded);
                assertEquals(0, buffer.getPathConsumed());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            assertFalse(itr.hasNext(), "No more elements after consuming two");
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @DisplayName("Invalid names are skipped; next valid is returned")
        void skipsMalformedNames_thenReturnsValid(String badName) throws Exception {
            // Arrange: first entry is invalid (null or empty), second is valid
            setupParentForUrlCreation();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/UniAddressTest.java

        void getAddressReturnsOriginalObject() {
            InetAddress dummy = mock(InetAddress.class);
            UniAddress ua = new UniAddress(dummy);
            assertSame(dummy, ua.getAddress(), "getAddress should return the wrapped address");
        }
    
        @Test
        void getHostNameDelegatesToWrappedInetAddress() {
            InetAddress dummy = mock(InetAddress.class);
            when(dummy.getHostName()).thenReturn("host.example.com");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/UniAddress.java

        Object addr;
        String calledName;
    
        /**
         * Create a <code>UniAddress</code> by wrapping an {@code InetAddress} or
         * <code>NbtAddress</code>.
         *
         * @param addr
         *            wrapped address
         */
        public UniAddress(final Object addr) {
            if (addr == null) {
                throw new IllegalArgumentException();
            }
            this.addr = addr;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                        || e.getMessage().contains("format"));
            }
        }
    
        public void test_install_zipWithSkippedEntries() throws IOException {
            // Create a zip with entries that should be skipped
            Path jarPath = tempDir.resolve("skip-entries.jar");
            createMockThemeZipWithSkippedEntries(jarPath);
    
            ThemeHelper mockThemeHelper = new ThemeHelper() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Closer.java

        return closeable;
      }
    
      /**
       * Stores the given throwable and rethrows it. It will be rethrown as is if it is an {@code
       * IOException}, {@code RuntimeException} or {@code Error}. Otherwise, it will be rethrown wrapped
       * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/FessAppService.java

         * to support prefix and suffix matching in search operations.
         *
         * @param query the query string to wrap with wildcards
         * @return the wrapped query string with leading and trailing asterisks
         */
        protected static String wrapQuery(final String query) {
            final StringBuilder sb = new StringBuilder();
            if (!query.startsWith("*")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteSource.java

      /** Counts the bytes in the given input stream using skip if possible. */
      private long countBySkipping(InputStream in) throws IOException {
        long count = 0;
        long skipped;
        while ((skipped = skipUpTo(in, Integer.MAX_VALUE)) > 0) {
          count += skipped;
        }
        return count;
      }
    
      /**
       * Copies the contents of this byte source to the given {@code OutputStream}. Does not close
       * {@code output}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

    public interface TypeToInstanceMap<B extends @Nullable Object>
        extends Map<TypeToken<? extends @NonNull B>, B> {
    
      /**
       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top