Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 2,652 for throwIf (0.17 sec)

  1. src/main/java/jcifs/smb/SmbFileOutputStream.java

        /**
         * Ensures that the file descriptor is openend
         * 
         * @throws CIFSException
         */
        public void open () throws CIFSException {
            try ( SmbFileHandleImpl fh = ensureOpen() ) {}
        }
    
    
        /**
         * Closes this output stream and releases any system resources associated
         * with it.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testReentrantLock_tryLock() throws Exception {
        LockingThread thread = new LockingThread(lockA);
        thread.start();
    
        thread.waitUntilHoldingLock();
        assertFalse(lockA.tryLock());
    
        thread.releaseLockAndFinish();
        assertTrue(lockA.tryLock());
      }
    
      public void testReentrantWriteLock_tryLock() throws Exception {
        LockingThread thread = new LockingThread(writeLockA);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testReentrantLock_tryLock() throws Exception {
        LockingThread thread = new LockingThread(lockA);
        thread.start();
    
        thread.waitUntilHoldingLock();
        assertFalse(lockA.tryLock());
    
        thread.releaseLockAndFinish();
        assertTrue(lockA.tryLock());
      }
    
      public void testReentrantWriteLock_tryLock() throws Exception {
        LockingThread thread = new LockingThread(writeLockA);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

          };
        }
    
        @Override
        protected void run() throws Exception {}
      }
    
      public void testStopWhileStarting_runNotCalled() throws Exception {
        final CountDownLatch started = new CountDownLatch(1);
        FakeService service =
            new FakeService() {
              @Override
              protected void startUp() throws Exception {
                super.startUp();
                started.await();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

        LoadingCache<Object, Object> cache =
            new AbstractLoadingCache<Object, Object>() {
              @Override
              public Object get(Object key) throws ExecutionException {
                Object v = valueRef.get();
                if (v == null) {
                  throw new ExecutionException(cause);
                }
                return v;
              }
    
              @Override
              public @Nullable Object getIfPresent(Object key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            public String netname;
    
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(netname, 1);
    
                if (netname != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(netname);
    
                }
            }
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 18.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableList.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void add(int index, E element) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the list unmodified.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Serialization.java

          try {
            field.set(instance, value);
          } catch (IllegalAccessException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        void set(T instance, int value) {
          try {
            field.set(instance, value);
          } catch (IllegalAccessException impossible) {
            throw new AssertionError(impossible);
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

        public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository)
                throws ProjectBuildingException {
            return buildStandaloneSuperProject(localRepository, null);
        }
    
        public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager)
                throws ProjectBuildingException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

          }
        }
      }
    
      @Test
      @Throws(Exception::class)
      fun compressedMessages() {
        successfulExtensions("permessage-deflate")
      }
    
      @Test
      @Throws(Exception::class)
      fun compressedMessagesNoClientContextTakeover() {
        successfulExtensions("permessage-deflate; client_no_context_takeover")
      }
    
      @Test
      @Throws(Exception::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top