Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1411 - 1420 of 1,521 for cases (0.03 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

    import junit.framework.Assert;
    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester that runs automated sanity tests for any given class. A typical use case is to test static
     * factory classes like:
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        ): Long {
          while (left == 0) {
            source.skip(padding.toLong())
            padding = 0
            if (flags and FLAG_END_HEADERS != 0) return -1L
            readContinuationHeader()
            // TODO: test case for empty continuation header?
          }
    
          val read = source.read(sink, minOf(byteCount, left.toLong()))
          if (read == -1L) return -1L
          left -= read.toInt()
          return read
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     * is used to verify the signature of the "www.squareup.com" certificate.
     *
     * This roles are reversed for client authentication. In that case the client has a private key and
     * a chain of certificates. The server uses a set of trusted root certificates to authenticate the
     * client. Subject alternative names are not used for client authentication.
     */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        DECODING_STREAM {
          @Override
          void assertFailsToDecode(
              BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
            // Regression test for case where DecodingException was swallowed by default implementation
            // of
            // InputStream.read(byte[], int, int)
            // See https://github.com/google/guava/issues/3542
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

            // a number that is nonnegative as a signed integer.
            long quotient;
            if ((radix & 1) == 0) {
              // Fast path for the usual case where the radix is even.
              quotient = (x >>> 1) / (radix >>> 1);
            } else {
              quotient = divide(x, radix);
            }
            long rem = x - quotient * radix;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             * higher than the current batchLevel so we will now encode
             * that chained message. Before doing so we must increment
             * the batchLevel of the andx message in case it itself is an
             * andx message and needs to perform the same check as above.
             */
    
            this.andx.batchLevel = this.batchLevel + 1;
    
            dst[ start + ANDX_COMMAND_OFFSET ] = this.andxCommand;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    silence.
    
      Alice noticed with some surprise that the pebbles were all
    turning into little cakes as they lay on the floor, and a bright
    idea came into her head.  `If I eat one of these cakes,' she
    thought, `it's sure to make SOME change in my size; and as it
    can't possibly make me larger, it must make me smaller, I
    suppose.'
    
      So she swallowed one of the cakes, and was delighted to find
    that she began shrinking directly.  As soon as she was small
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

        }
      }
    
      /** Builds a configured certificate pinner. */
      class Builder {
        val pins = mutableListOf<Pin>()
    
        /**
         * Pins certificates for `pattern`.
         *
         * @param pattern lower-case host name or wildcard pattern such as `*.example.com`.
         * @param pins SHA-256 or SHA-1 hashes. Each pin is a hash of a certificate's Subject Public Key
         *     Info, base64-encoded and prefixed with either `sha256/` or `sha1/`.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SID.java

         * resolved. However, if a SID is constructed explicitly using a SID
         * constructor, JCIFS will have no knowledge of the server that created the
         * SID and therefore cannot possibly resolve it automatically. In this case,
         * this method will be necessary.
         * 
         * @param authorityServerName
         *            The FQDN of the server that is an authority for the SID.
         * @param tc
         *            Context to use
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

         * on the command line.
         */
        private List<MavenProject> projects;
    
        /**
         * The full set of projects before any potential constraining by --projects. Useful in the case where you want to
         * build a smaller set of projects but perform other operations in the context of your reactor.
         */
        private List<MavenProject> allProjects;
    
        private MavenProject topLevelProject;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top