Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 2,541 for throwIt (0.04 sec)

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

      }
    
    
      @J2ktIncompatible
      @AndroidIncompatible // depends on details of GC and classloading
      public void testGetIfPresent_doesNotPreventClassUnloading() throws Exception {
        WeakReference<?> shadowLoaderReference = doTestClassUnloading();
        GcFinalization.awaitClear(shadowLoaderReference);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. docs/features/https.md

                      .build())
              .build();
    
          public void run() throws Exception {
            Request request = new Request.Builder()
                .url("https://publicobject.com/robots.txt")
                .build();
    
            try (Response response = client.newCall(request).execute()) {
              if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NetworkExplorer.java

         * @param req the HTTP servlet request
         * @param resp the HTTP servlet response
         * @param file the SMB file to download
         * @throws IOException if an I/O error occurs
         */
        protected void doFile(final HttpServletRequest req, final HttpServletResponse resp, final SmbFile file) throws IOException {
            final byte[] buf = new byte[8192];
            String url, type;
            int n;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      /*
       * Tests for Predicates.alwaysFalse().
       */
    
      public void testAlwaysFalse_apply() throws Exception {
        assertEvalsToFalse(Predicates.alwaysFalse());
      }
    
      public void testAlwaysFalse_equality() throws Exception {
        new EqualsTester()
            .addEqualityGroup(FALSE, Predicates.alwaysFalse())
            .addEqualityGroup(isOdd())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            void testHaveResponseCalled() throws SMBProtocolDecodingException {
                TestServerMessageBlock2 customMessage = new TestServerMessageBlock2(mockConfig) {
                    boolean haveResponseCalled = false;
    
                    @Override
                    protected void haveResponse(byte[] buffer, int start, int len) throws SMBProtocolDecodingException {
                        haveResponseCalled = true;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            throw new UnsupportedOperationException("Transport creation needs integration with SmbTransportPool");
        }
    
        /**
         * Perform channel binding for a channel
         *
         * @param channel channel to bind
         * @throws IOException if binding fails
         */
        public void performChannelBinding(ChannelInfo channel) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            assertTrue(bytesWritten > 68); // Should be larger due to scope
        }
    
        @Test
        @DisplayName("readTrailerWireFormat should read complete packet data")
        void testReadTrailerWireFormatSuccess() throws IOException {
            SessionRequestPacket writePacket =
                    new SessionRequestPacket(mockConfig, new TestNetbiosName("SERVER", 0x20, null), new TestNetbiosName("CLIENT", 0x00, null));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

        this.iterator = iterator;
      }
    
      @Override
      public Iterator<E> iterator() {
        if (iterator == null) {
          // TODO: throw something else? Do we worry that people's code and tests
          // might be relying on this particular type of exception?
          throw new IllegalStateException();
        }
        try {
          return iterator;
        } finally {
          iterator = null;
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

         * @param paramMap the parameters to bind to the script (null-safe, treated as empty map if null)
         * @return the result of script evaluation, or null if the template is empty or evaluation fails
         * @throws JobProcessingException if the script explicitly throws this exception
         *         (allows scripts to signal job-specific errors that should propagate)
         */
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         * Returns the signing key for SMB signing.
         *
         * @param challenge the server challenge bytes
         * @return the signing key
         * @throws SmbException if an error occurs generating the signing key
         */
        public byte[] getSigningKey(final byte[] challenge) throws SmbException {
            switch (LM_COMPATIBILITY) {
            case 0:
            case 1:
            case 2:
                final byte[] signingKey = new byte[40];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
Back to top