Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 1,693 for threw (0.03 sec)

  1. android/guava-tests/test/com/google/common/io/TestOutputStream.java

      }
    
      private void throwIf(TestOption option) throws IOException {
        throwIf(options.contains(option));
      }
    
      private static void throwIf(boolean condition) throws IOException {
        if (condition) {
          throw new IOException();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  2. android/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)
  3. android/guava/src/com/google/common/collect/ImmutableAsList.java

        }
    
        private static final long serialVersionUID = 0;
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      @Override
      Object writeReplace() {
        return new SerializedForm(delegateCollection());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/IncidentEdgeSet.java

      final BaseGraph<N> graph;
    
      IncidentEdgeSet(BaseGraph<N> graph, N node) {
        this.graph = graph;
        this.node = node;
      }
    
      @Override
      public boolean remove(@CheckForNull Object o) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public int size() {
        if (graph.isDirected()) {
          return graph.inDegree(node)
              + graph.outDegree(node)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

            return 0;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            if ( len > this.outputBuffer.length ) {
                throw new SMBProtocolDecodingException("Payload exceeds buffer size");
            }
            System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len);
            return len;
    
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              try {
                Thread.sleep(500)
              } catch (e: InterruptedException) {
                throw AssertionError()
              }
              assertFailsWith<IOException> {
                response.body.source().readUtf8()
              }.also { expected ->
                exceptionRef.set(expected)
                latch.countDown()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

            RandomHasherAction.pickAtRandom(random).performAction(random, sinksAndControl);
          }
          // We need to ensure that at least 4 bytes have been put into the hasher or else
          // Hasher#hash will throw an ISE.
          int intToPut = random.nextInt();
          for (Hasher hasher : sinksAndControl) {
            hasher.putInt(intToPut);
          }
          for (Sink sink : sinks) {
            HashCode unused = sink.hash();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcBinding.java

                        this.minor = Integer.parseInt(iface.substring(p + 1));
                        return;
                    }
                }
                throw new DcerpcException("Bad endpoint: " + this.endpoint);
            }
            if ( this.options == null )
                this.options = new HashMap<>();
            this.options.put(key, val);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

                    || FAIL_AT_END.equals(failureBehavior)
                    || FAIL_NEVER.equals(failureBehavior)) {
                this.failureBehavior = failureBehavior;
            } else {
                throw new IllegalArgumentException("Invalid failure behavior (must be one of: '" + FAIL_FAST + "', '"
                        + FAIL_AT_END + "', '" + FAIL_NEVER + "').");
            }
        }
    
        public String getFailureBehavior() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

            case NEW:
            case RUNNABLE:
            case WAITING:
              Thread.yield();
              break;
            case TIMED_WAITING:
              return;
            case TERMINATED:
              throw new AssertionError();
          }
        }
      }
    
      public void testDirectExecutorService_shutdownNow() {
        ExecutorService executor = newDirectExecutorService();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top