Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1071 - 1080 of 1,693 for threw (0.02 sec)

  1. src/main/java/jcifs/ntlmssp/Type2Message.java

            int pos = 0;
            for ( int i = 0; i < 8; i++ ) {
                if ( input[ i ] != NTLMSSP_SIGNATURE[ i ] ) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            pos += 8;
    
            if ( readULong(input, pos) != NTLMSSP_TYPE2 ) {
                throw new IOException("Not a Type 2 message.");
            }
            pos += 4;
    
            int flags = readULong(input, pos + 8);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/TestLogHandler.kt

        }
      }
    
      fun takeAll(): List<String> {
        val list = mutableListOf<String>()
        logs.drainTo(list)
        return list
      }
    
      fun take(): String {
        return logs.poll(10, TimeUnit.SECONDS)
          ?: throw AssertionError("Timed out waiting for log message.")
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

          } else {
            System.out.println("Force cache: false");
            clientForCall = client;
          }
    
          try (Response response = clientForCall.newCall(request).execute()) {
            if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
            System.out.println("    Network: " + (response.networkResponse() != null));
            System.out.println();
          }
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/RecursiveDeleteOption.java

     */
    @J2ktIncompatible
    @GwtIncompatible
    @J2ObjCIncompatible // java.nio.file
    @ElementTypesAreNonnullByDefault
    public enum RecursiveDeleteOption {
      /**
       * Specifies that the recursive delete should not throw an exception when it can't be guaranteed
       * that it can be done securely, without vulnerability to race conditions (i.e. when the file
       * system does not support {@link SecureDirectoryStream}).
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

            try {
                this.securityDescriptor = new SecurityDescriptor();
                bufferIndex += this.securityDescriptor.decode(buffer, bufferIndex, len);
            }
            catch ( IOException ioe ) {
                throw new RuntimeCIFSException(ioe.getMessage());
            }
    
            return bufferIndex - start;
        }
    
    
        @Override
        public String toString () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolverFactory.java

            try {
                return (ConflictResolver) container.lookup(ConflictResolver.ROLE, type);
            } catch (ComponentLookupException exception) {
                throw new ConflictResolverNotFoundException("Cannot find conflict resolver of type: " + type);
            }
        }
    
        // Contextualizable methods -----------------------------------------------
    
        /*
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * Removes and returns the greatest element of this queue.
       *
       * @throws NoSuchElementException if the queue is empty
       */
      @CanIgnoreReturnValue
      public E removeLast() {
        if (isEmpty()) {
          throw new NoSuchElementException();
        }
        return removeAndGet(getMaxElementIndex());
      }
    
      /**
       * Retrieves, but does not remove, the greatest element of this queue, or returns {@code null} if
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

          return try {
            val buffer = Buffer()
            body!!.writeTo(buffer)
            buffer.readString(body.contentType()!!.charset()!!)
          } catch (e: IOException) {
            throw RuntimeException(e)
          }
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

          }
        } catch (e: Throwable) {
          if (KNOWN_FAILURES.contains(testData.toString())) {
            System.err.println("Ignoring known failure: $testData")
            e.printStackTrace()
          } else {
            throw e
          }
        }
      }
    
      private fun testHttpUrl(testData: WebPlatformUrlTestData) {
        val url =
          when (testData.base) {
            "about:blank" -> testData.input!!.toHttpUrlOrNull()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/UUID.java

                        break;
                    case 'a': case 'b': case 'c': case 'd': case 'e': case 'f':
                        value += 10 + (arr[ai] - 'a');
                        break;
                    default:
                        throw new IllegalArgumentException(new String(arr, offset, length));
                }
                count++;
            }
    
            return value;
        }
        static final char[] HEXCHARS = {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.1K bytes
    - Viewed (0)
Back to top