Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 3,054 for throws (0.06 sec)

  1. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        private final ServerSocket serverSocket;
    
        private MyServerExampleWithFrq() throws IOException {
          this.serverSocket = new ServerSocket(0);
        }
    
        static MyServerExampleWithFrq create(AtomicBoolean finalizeReferentRan) throws IOException {
          MyServerExampleWithFrq myServer = new MyServerExampleWithFrq();
          ServerSocket serverSocket = myServer.serverSocket;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

        }
    
        @Test
        @DisplayName("remove() throws UnsupportedOperationException with 'remove' message")
        void removeUnsupported() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            TestIterator it = TestIterator.create(tree, parent, "*", null, 0, entry("a"), List.of(new FileEntry[][] { new FileEntry[] {} }));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacMac.java

         * @param data the data to calculate the MAC for
         * @return the calculated MAC bytes
         * @throws GeneralSecurityException if cryptographic operations fail
         */
        public static byte[] calculateMacArcfourHMACMD5(int keyusage, Key key, byte[] data) throws GeneralSecurityException {
            int ms_usage = mapArcfourMD5KeyUsage(keyusage);
            Mac mac = Mac.getInstance("HmacMD5");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

        handler: Handler,
        length: Int,
        flags: Int,
        streamId: Int,
      ) {
        if (length != 5) throw IOException("TYPE_PRIORITY length: $length != 5")
        if (streamId == 0) throw IOException("TYPE_PRIORITY streamId == 0")
        readPriority(handler, streamId)
      }
    
      @Throws(IOException::class)
      private fun readPriority(
        handler: Handler,
        streamId: Int,
      ) {
        val w1 = source.readInt()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

     */
    public class SAXParserFactoryUtilTest extends TestCase {
    
        boolean included;
    
        /**
         * {@link SAXParserFactoryUtil#setXIncludeAware}のテストです。
         *
         * @throws Exception
         */
        public void testSetXIncludeAware() throws Exception {
            final SAXParserFactory spf = SAXParserFactoryUtil.newInstance();
            SAXParserFactoryUtil.setXIncludeAware(spf, true);
            spf.setNamespaceAware(true);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            }
        }
    
        @Override
        public int recv(final byte[] buf, final int off, final int len) throws IOException {
            return getInput().readDirect(buf, off, len);
    
        }
    
        @Override
        public void send(final byte[] buf, final int off, final int length) throws IOException {
            getOutput().writeDirect(buf, off, length, 1);
        }
    
        /**
         *
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMultimap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean putAll(Multimap<? extends K, ? extends V> multimap) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableCollection.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean retainAll(Collection<?> elementsToKeep) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the collection unmodified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResource.java

         *         <code>false</code> otherwise
         * @throws CIFSException if an error occurs accessing the resource
         */
        boolean exists() throws CIFSException;
    
        /**
         * Fetch a child resource
         *
         * @param name the name of the child resource to resolve
         * @return the child resource
         * @throws CIFSException if an error occurs accessing the resource
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  10. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

            new ByteSource() {
              @Override
              public InputStream openStream() throws IOException {
                if (counter[0]++ != 0) {
                  throw new IllegalStateException("More than one source open");
                }
                return new FilterInputStream(source.openStream()) {
                  @Override
                  public void close() throws IOException {
                    super.close();
                    counter[0]--;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top