Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 617 for constructor (0.16 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /** Tests for AbstractNonStreamingHashFunction. */
    public class AbstractNonStreamingHashFunctionTest extends TestCase {
      /**
       * Constructs two trivial HashFunctions (output := input), one streaming and one non-streaming,
       * and checks that their results are identical, no matter which newHasher version we used.
       */
      public void testExhaustive() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

     */
    @Deprecated(since = "4.0.0")
    public interface ModelBuildingResult {
    
        /**
         * Gets the sequence of model identifiers that denote the lineage of models from which the effective model was
         * constructed. Model identifiers should be handled as "opaque strings" and this method should be used as source
         * if navigating the linage. The first identifier from the list denotes the model on which the model builder
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

        assertThat(expected).hasMessageThat().contains("testCheckNoOverflow_failure(0, 0)");
      }
    
      public void testNulls() {
        /*
         * Don't bother testing. All non-primitive parameters are used only to construct error messages.
         * We never want to pass null for them, so we haven't annotated them to say that null is
         * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

            if (size.isPresent() && size.get().longValue() == size.get().intValue()) {
              // otherwise try to presize a StringBuilder
              // it is kind of lame that we need to construct a decoder to access this value.
              // if this is a concern we could add special cases for some known charsets (like utf8)
              // or we could avoid inputstreamreader and use the decoder api directly
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            // is a first step. There are several replacements below, in order to normalize
            // the path character before we operate on the string as a regex input, and
            // in order to avoid surprises with the File construction...
            // -------------------------------------------------------------------------------------
    
            String path = System.getProperty(altLocationSysProp);
    
            if (path == null || path.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            try {
                docResource = new File(myClasspathEntry).toURL();
            } catch (MalformedURLException e) {
                throw new ExpressionDocumentationException(
                        "Cannot construct expression documentation classpath" + " resource base.", e);
            }
    
            return new URLClassLoader(new URL[] {docResource});
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        private AuthenticationType type;
        private String domain;
        private String username;
        private String password;
        private byte[] clientChallenge = null;
    
    
        /**
         * Construct anonymous credentials
         */
        public NtlmPasswordAuthenticator () {
            this(AuthenticationType.NULL);
        }
    
    
        public NtlmPasswordAuthenticator ( AuthenticationType type ) {
            this.domain = "";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      }
    
      @Override
      protected void tearDown() throws Exception {
    
        // Make sure we have no waiting threads.
        latch.countDown();
      }
    
      /** Constructs a listenable future with a value available after the latch has counted down. */
      protected abstract <V> ListenableFuture<V> createListenableFuture(
          V value, @Nullable Exception except, CountDownLatch waitOn);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/Kerb5Authenticator.java

        static {
            PREFERRED_MECHS.add(new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"));
            PREFERRED_MECHS.add(new ASN1ObjectIdentifier("1.2.840.48018.1.2.2"));
        }
    
    
        /**
         * Construct a <code>Kerb5Authenticator</code> object with <code>Subject</code>
         * which hold TGT retrieved from KDC. If multiple TGT are contained, the
         * first one will be used to retrieve user principal.
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SidResolver.java

         * given user when the target object's ACL has local groups. Local groups
         * are not listed in a user's group membership (e.g. as represented by the
         * tokenGroups constructed attribute retrieved via LDAP).
         * <p/>
         * Domain groups nested inside a local group are currently not expanded. In
         * this case the key (SID) type will be SID_TYPE_DOM_GRP rather than
         * SID_TYPE_USER.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
Back to top