Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1291 - 1300 of 1,693 for threw (0.1 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum CollectionFeature implements Feature<Collection> {
      /**
       * The collection must not throw {@code NullPointerException} on calls such as {@code
       * contains(null)} or {@code remove(null)}, but instead must return a simple {@code false}.
       */
      ALLOWS_NULL_QUERIES,
      ALLOWS_NULL_VALUES(ALLOWS_NULL_QUERIES),
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        server.start(port);
      }
    
      @Override public MockResponse dispatch(RecordedRequest request) {
        String path = request.getPath();
        try {
          if (!path.startsWith("/") || path.contains("..")) throw new FileNotFoundException();
    
          File file = new File(root + path);
          return file.isDirectory()
              ? directoryToResponse(path, file)
              : fileToResponse(path, file);
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

            int n;
            if(( n = readn( in, buffer, bufferIndex, HEADER_LENGTH )) != HEADER_LENGTH ) {
                if( n == -1 ) {
                    return -1;
                }
                throw new IOException( "unexpected EOF reading netbios session header" );
            }
            int t = buffer[bufferIndex] & 0xFF;
            return t;
        }
    
        int type, length;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

        public static MavenOptions layerMavenOptions(Collection<MavenOptions> options) {
            List<MavenOptions> o = options.stream().filter(Objects::nonNull).toList();
            if (o.isEmpty()) {
                throw new IllegalArgumentException("No options specified (or all were null)");
            } else if (o.size() == 1) {
                return o.get(0);
            } else {
                return new LayeredMavenOptions<>(o);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                                .getPluginDescriptor()
                                .getLifecycleMappings()
                                .values()));
                    } catch (Exception e) {
                        throw new RuntimeException("Unable to load plugin lifecycles", e);
                    }
                }
    
                @Override
                public ClassLoader getClassLoader() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/BigIntegerMath.java

            // we compare x^2 to 2^(2 * logFloor + 1).
            BigInteger x2 = x.pow(2);
            int logX2Floor = x2.bitLength() - 1;
            return (logX2Floor < 2 * logFloor + 1) ? logFloor : logFloor + 1;
        }
        throw new AssertionError();
      }
    
      /*
       * The maximum number of bits in a square root for which we'll precompute an explicit half power
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        ByteSource checker =
            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 {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

                bufferIndex += 2;
                int numAces = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
    
                if ( numAces > 4096 )
                    throw new SMBProtocolDecodingException("Invalid SecurityDescriptor");
    
                this.aces = new ACE[numAces];
                for ( int i = 0; i < numAces; i++ ) {
                    this.aces[ i ] = new ACE();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  9. internal/s3select/select_test.go

    		},
    	}
    
    	jsonData := []byte(`{"three":true,"two":"foo","one":-1}
    {"three":false,"two":"bar","one":null}
    {"three":true,"two":"baz","one":2.5}
    `)
    
    	for i, testCase := range testTable {
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/ExecJob.java

                        prop.setProperty("job.runtime.name", job.getName());
                    }
                }
                prop.store(out, cmdList.toString());
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        protected String getLogName(final String logPrefix) {
            if (logSuffix.length() > 0) {
                return logPrefix + "-" + getExecuteType() + "-" + logSuffix;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top