Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1941 - 1950 of 3,282 for throwIt (0.28 seconds)

  1. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateAgpVersionsTest.groovy

            def allVersions = ["8.9.0", "9.0.0"]
    
            when:
            UpdateAgpVersions.selectVersionsFrom(gradleVersion, minimumSupported, allVersions)
    
            then:
            def ex = thrown(IllegalArgumentException)
            ex.message == "minimumSupported must be at least 9.0.0, was 8.9.0"
        }
    
        def "fail when minimumSupported higher than gradle major when no matching gradle major stable or rc available"() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Oct 24 09:10:28 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/DfsReferral.java

        public String share; // Share
        /** The complete UNC path link */
        public String link;
        /** Path relative to tree from which this referral was thrown */
        public String path; // Path relative to tree from which this referral was thrown
        /** Whether to resolve hashes in the path */
        public boolean resolveHashes;
        /** Expiration time for this referral entry */
        public long expiration;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/spnego/SpnegoToken.java

        public abstract byte[] toByteArray();
    
        /**
         * Parses the provided token bytes to populate this SPNEGO token
         * @param token the token bytes to parse
         * @throws IOException if parsing fails
         */
        protected abstract void parse(byte[] token) throws IOException;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (2)
  4. android/guava-tests/test/com/google/common/base/ObjectsTest.java

        "EqualsLong", // b/273939864
        "EqualsDouble", // b/273939864
        "EqualsFloat", // b/273939864
        "YodaCondition", // test of reversed call
      })
      public void testEqual() throws Exception {
        assertTrue(Objects.equal(1, 1));
        assertTrue(Objects.equal(null, null));
    
        // test distinct string objects
        String s1 = "foobar";
        String s2 = new String(s1);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/PeekingIterator.java

       *
       * <p>Calls to {@code peek()} should not change the state of the iteration, except that it
       * <i>may</i> prevent removal of the most recent element via {@link #remove()}.
       *
       * @throws NoSuchElementException if the iteration has no more elements according to {@link
       *     #hasNext()}
       */
      @ParametricNullness
      E peek();
    
      /**
       * {@inheritDoc}
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

     */
    class SmbComNegotiateResponseTest {
    
        private SmbTransport.ServerData serverData;
        private SmbComNegotiateResponse response;
    
        @BeforeEach
        void setUp() throws UnknownHostException {
            // To instantiate the non-static inner class ServerData, we need an instance of the outer class SmbTransport.
            UniAddress uniAddress = new UniAddress(InetAddress.getByName("127.0.0.1"));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

          Request
            .Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        val response1Body =
          client.newCall(request).execute().use {
            if (!it.isSuccessful) throw IOException("Unexpected code $it")
    
            println("Response 1 response:          $it")
            println("Response 1 cache response:    ${it.cacheResponse}")
            println("Response 1 network response:  ${it.networkResponse}")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

                System.arraycopy(ctxBytes, 0, packet, ctxOffsetFromHeader, ctxBytes.length);
            }
            return packet;
        }
    
        @Test
        void decode_basic_noContexts() throws Exception {
            Configuration config = Mockito.mock(Configuration.class);
            Smb2CreateResponse resp = new Smb2CreateResponse(config, "file.txt");
    
            byte[] fileId = new byte[16];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/math/PairedStatsAccumulator.java

       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
       * Double#NEGATIVE_INFINITY}, or {@link Double#NaN}) then the result is {@link Double#NaN}.
       *
       * @throws IllegalStateException if the dataset is empty
       */
      public double populationCovariance() {
        checkState(count() != 0);
        return sumOfProductsOfDeltas / count();
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

            } catch (SAXNotRecognizedException | SAXNotSupportedException e) {
                throw new SAXRuntimeException(e);
            } catch (final ParserConfigurationException e) {
                throw new ParserConfigurationRuntimeException(e);
            }
            return factory;
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top