Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1181 - 1190 of 3,282 for throwIt (0.24 seconds)

  1. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        private DummyInternalEntry() {
          throw new AssertionError();
        }
    
        @Override
        public DummyInternalEntry getNext() {
          throw new AssertionError();
        }
    
        @Override
        public int getHash() {
          throw new AssertionError();
        }
    
        @Override
        public Object getKey() {
          throw new AssertionError();
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 89.9K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

         *
         * @throws Exception if any.
         */
        @Test
        public void testDotDot() throws Exception {
            assertNull(ReflectionValueExtractor.evaluate("h..value", new ValueHolder("value")));
        }
    
        /**
         * <p>testBadIndexedSyntax.</p>
         *
         * @throws Exception if any.
         */
        @Test
        public void testBadIndexedSyntax() throws Exception {
            List<Object> list = new ArrayList<Object>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            Encdec.enc_uint32le(0xFFFF + 1, buffer, 8);
    
            ndrBuffer.setIndex(0);
            NdrException thrown = assertThrows(NdrException.class, () -> {
                ndrBuffer.dec_ndr_string();
            });
            assertEquals(NdrException.INVALID_CONFORMANCE, thrown.getMessage());
        }
    
        @Test
        void testEncNdrReferent() {
            Object obj1 = new Object();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                ArtifactMetadataSource source,
                ArtifactFilter filter,
                List<ResolutionListener> listeners,
                List<ConflictResolver> conflictResolvers)
                throws ArtifactResolutionException {
            fireEvent(ResolutionListener.TEST_ARTIFACT, listeners, node);
    
            Object key = node.getKey();
    
            // TODO Does this check need to happen here? Had to add the same call
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

        }
    
        /**
         * Establish RDMA connection
         *
         * @throws IOException if connection fails
         */
        public abstract void connect() throws IOException;
    
        /**
         * Send data using RDMA
         *
         * @param data data buffer to send
         * @param region registered memory region for the data
         * @throws IOException if send fails
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

       * is running when that time is reached, that task is allowed to complete before this task is
       * started. Similarly the task will be delayed if the host lacks compute resources.
       *
       * @throws RejectedExecutionException if the queue is shut down and the task is not cancelable.
       */
      fun schedule(
        task: Task,
        delayNanos: Long = 0L,
      ) {
        taskRunner.withLock {
          if (shutdown) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

                    this.exception = e;
                }
    
                @Override
                public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                    if (buffer == null || buffer.length < bufferIndex + 4) {
                        throw new SMBProtocolDecodingException("Buffer too small");
                    }
                    return 4;
                }
    
                @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         * @return the most specific applicable method, or null if no
         *         method is applicable.
         * @throws AmbiguousException if there is more than one maximally
         *                            specific applicable method
         */
        Method find(String methodName, Object... args) throws AmbiguousException {
            List<Method> methodList = get(methodName);
    
            if (methodList == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/util/MimeMapTest.java

        private MimeMap mimeMap;
    
        @BeforeEach
        void setUp() throws IOException {
            mimeMap = new MimeMap();
        }
    
        @Nested
        @DisplayName("getMimeType with extension only")
        class GetMimeTypeWithExtension {
    
            @Test
            @DisplayName("Should return correct mime type for known extensions")
            void testKnownExtensions() throws IOException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

       *     {@code string} has a length of zero or cannot be parsed as a long value
       * @throws IllegalArgumentException if {@code radix < Character.MIN_RADIX} or {@code radix >
       *     Character.MAX_RADIX}
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 19.0
       */
      public static @Nullable Long tryParse(String string, int radix) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 29K bytes
    - Click Count (0)
Back to Top