Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,175 for match (0.03 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertEquals(testContent.length(), file.length(), "File length should match content length");
    
            // Read content back
            try (InputStream in = file.getInputStream()) {
                String readContent = new String(in.readAllBytes(), "UTF-8");
                assertEquals(testContent, readContent, "Read content should match written content");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        if (address.url.host ==
          this
            .route()
            .address.url.host
        ) {
          return true // This connection is a perfect match.
        }
    
        // At this point we don't have a hostname match. But we still be able to carry the request if
        // our connection coalescing requirements are met. See also:
        // https://hpbn.co/optimizing-application-delivery/#eliminate-domain-sharding
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                return robotsTxt;
            } catch (final Exception e) {
                throw new RobotsTxtException("Failed to parse robots.txt.", e);
            }
        }
    
        /**
         * Extracts the value from a line using the given pattern.
         * @param pattern the pattern to match against
         * @param line the line to extract the value from
         * @return the extracted value, or null if no match
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

     */
    internal data class BasicDerAdapter<T>(
      private val name: String,
      /** The tag class this adapter expects, or -1 to match any tag class. */
      val tagClass: Int,
      /** The tag this adapter expects, or -1 to match any tag. */
      val tag: Long,
      /** Encode and decode the value once tags are handled. */
      private val codec: Codec<T>,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

            when(mockAllocInfo.getFree()).thenReturn(400L);
    
            assertEquals(1000L, mockAllocInfo.getCapacity(), "capacity should match stubbed value");
            assertEquals(400L, mockAllocInfo.getFree(), "free space should match stubbed value");
            verify(mockAllocInfo, times(1)).getCapacity();
            verify(mockAllocInfo, times(1)).getFree();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/SmallCharMatcher.java

       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
        // Round up to the next highest power of 2.
        int tableSize = Integer.highestOneBit(setSize - 1) << 1;
        while (tableSize * DESIRED_LOAD_FACTOR < setSize) {
          tableSize <<= 1;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            // When
            int bytesWritten = trans.writeParametersWireFormat(dst, 0);
    
            // Then
            assertEquals(dst.length, bytesWritten, "The number of bytes written should match the expected length.");
            // Check informationLevel
            assertEquals((byte) (informationLevel & 0xFF), dst[0]);
            assertEquals((byte) ((informationLevel >> 8) & 0xFF), dst[1]);
            // Check reserved bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestGeneral(inRange('p', 'x'), 'q', 'z');
      }
    
      private void doTestGeneral(CharMatcher matcher, char match, char noMatch) {
        doTestOneCharMatch(matcher, "" + match);
        doTestOneCharNoMatch(matcher, "" + noMatch);
        doTestMatchThenNoMatch(matcher, "" + match + noMatch);
        doTestNoMatchThenMatch(matcher, "" + noMatch + match);
      }
    
      private void doTestOneCharMatch(CharMatcher matcher, String s) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

                // Allow for small timing differences (1ms) due to execution time between measurements
                assertTrue(
                        Math.abs(elapsed.toMillis() - calculated.toMillis()) <= 1,
                        "Elapsed time should match calculated duration between start and now");
            }
        }
    
        @Test
        @DisplayName("MonotonicClock should handle rapid successive calls")
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

            assertTrue(Modifier.isPublic(clazz.getModifiers()), "Interface should be public");
            assertEquals("jcifs.smb", clazz.getPackageName(), "Package must match source");
            assertEquals("SessionSetupHandler", clazz.getSimpleName(), "Simple name must match source");
        }
    
        @Test
        @DisplayName("Interface declares no methods or fields")
        void testNoMembers() {
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top