Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 279 for trusted (0.07 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  protected List<String> create(String[] elements) {
                    // For this test we trust ArrayList works
                    List<String> list = new ArrayList<>();
                    Collections.addAll(list, elements);
                    return new AbstractSequentialList<String>() {
                      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                oplockLevelField.setAccessible(true);
                assertEquals(oplockLevel, oplockLevelField.get(notification));
    
                // Log the test for clarity
                logger.debug("Tested oplock level: {} ({})", oplockLevel, description);
            }
    
            private static Stream<Arguments> provideOplockLevels() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

        FORBIDDEN,
    
        /** Hostnames that contain this character are encoded with punycode.  */
        PUNYCODE,
    
        /** This code point is special and should not be tested.  */
        SKIP,
    
        ;
    
        open fun encode(codePoint: Int): String = throw UnsupportedOperationException()
      }
    
      enum class Component {
        USER {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

            .addEqualityGroup(EnumBiMap.create(ImmutableMap.of(Currency.FRANC, Country.CANADA)))
            .testEquals();
      }
    
      /* Remaining behavior tested by AbstractBiMapTest. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/SerializeUtil.java

            }
        }
    
        /**
         * Creates a permissive filter that allows all classes to be deserialized.
         * <p>
         * WARNING: Use this only when you completely trust the data source and have
         * other security measures in place. Unrestricted deserialization can lead to
         * remote code execution vulnerabilities.
         * </p>
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Ordering.java

     *
     * <ol>
     *   <li>First, if only one {@code Foo} is null, that null value is treated as <i>greater</i>
     *   <li>Next, non-null {@code Foo} values are passed to {@code getBarFunction} (we will be
     *       comparing {@code Bar} values from now on)
     *   <li>Next, if only one {@code Bar} is null, that null value is treated as <i>lesser</i>
     *   <li>Finally, natural ordering is used (i.e. the result of {@code Bar.compareTo(Bar)} is
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       tested in isolation.
     *   <li>The documentation style for testcases is to provide as javadoc a simple sentence or two
     *       describing the property that the testcase method purports to test. The javadocs do not say
     *       anything about how the property is tested. To find out, read the code.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

                message.decode(mockBuffer);
    
                assertEquals(DcerpcConstants.RPC_PT_BIND_NAK, message.ptype);
                assertEquals(123, message.result); // BIND_NAK is treated as fault (ptype 13)
            }
    
            @Test
            @DisplayName("decode should throw NdrException for unexpected ptype")
            void testDecodeThrowsNdrExceptionForUnexpectedPtype() throws NdrException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

                    // this is the signature error
                    throw new SMBProtocolDowngradeException("Signature error during negotiate validation", e);
                }
    
                // other errors are treated as success
                return;
            }
            final ValidateNegotiateInfoResponse out = resp.getOutputData(ValidateNegotiateInfoResponse.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            assertEquals(Integer.MAX_VALUE, negotiationResponse.getTransactionBufferSize());
    
            // Test negative values (though not typical, should be tested)
            when(negotiationResponse.getSendBufferSize()).thenReturn(-1);
            when(negotiationResponse.getReceiveBufferSize()).thenReturn(-1);
            when(negotiationResponse.getTransactionBufferSize()).thenReturn(-1);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top