Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3561 - 3570 of 6,076 for new1 (0.03 seconds)

  1. src/main/java/org/codelibs/fess/util/WebApiUtil.java

         * @param message The error message
         */
        public static void setError(final int statusCode, final String message) {
            LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, message)));
        }
    
        /**
         * Sets an error in the current request with the specified status code and exception.
         *
         * @param statusCode The HTTP status code
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

          case NEXT_HIGHER:
            assertEquals(nextHigherIndex, answer);
            return;
          case INVERTED_INSERTION_INDEX:
            assertEquals(-1 - nextHigherIndex, answer);
            return;
        }
        throw new AssertionError();
      }
    
      public void testWithoutDups() {
        for (KeyPresentBehavior presentBehavior : KeyPresentBehavior.values()) {
          for (KeyAbsentBehavior absentBehavior : KeyAbsentBehavior.values()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

     * returning more-or-less the same answers.
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class QuantilesAlgorithmTest extends TestCase {
    
      private static final Random rng = new Random(82674067L);
      private static final int DATASET_SIZE = 1000;
      private static final double ALLOWED_ERROR = 1.0e-10;
      private static final QuantilesAlgorithm REFERENCE_ALGORITHM = QuantilesAlgorithm.SORTING;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

      private static HashCode toHashCode(long... longs) {
        ByteBuffer bb = ByteBuffer.wrap(new byte[longs.length * 8]).order(ByteOrder.LITTLE_ENDIAN);
        for (long x : longs) {
          bb.putLong(x);
        }
        return HashCode.fromBytes(bb.array());
      }
    
      public void testParanoid() {
        HashFn hf =
            new HashFn() {
              @Override
              public byte[] hash(byte[] input, int seed) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

            } else if (o instanceof String) {
                return toDouble((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Double.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return Double.valueOf(((java.util.Date) o).getTime());
            } else {
                return toDouble(o.toString());
            }
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

        }
    
        @Override
        public DcerpcException getResult() {
            if (result != 0) {
                return new DcerpcException(getResultMessage(result));
            }
            return null;
        }
    
        DcerpcBinding binding;
        int max_xmit, max_recv;
    
        /**
         * Constructs a new DcerpcBind message.
         */
        public DcerpcBind() {
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

        private SessionServicePacket ssp;
        private int bip, n;
        private final byte[] header, tmp;
    
        SocketInputStream(final InputStream in) {
            this.in = in;
            header = new byte[4];
            tmp = new byte[TMP_BUFFER_SIZE];
        }
    
        @Override
        public synchronized int read() throws IOException {
            if (read(tmp, 0, 1) < 0) {
                return -1;
            }
            return tmp[0] & 0xFF;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

        Writer getWriter();
    
        @Nonnull
        T getContent();
    
        @Nullable
        Function<Object, String> getInputLocationFormatter();
    
        static <T> XmlWriterRequestBuilder<T> builder() {
            return new XmlWriterRequestBuilder<>();
        }
    
        class XmlWriterRequestBuilder<T> {
            Path path;
            OutputStream outputStream;
            Writer writer;
            T content;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Aug 10 22:21:50 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java

                    new ProcessBuilder(path, "-cp", classpath, CIDetectorHelperRunner.class.getName());
            processBuilder.environment().putAll(add);
            ALL.stream()
                    .filter(s -> !add.containsKey(s))
                    .forEach(k -> processBuilder.environment().remove(k));
            Process process = processBuilder.start();
            process.waitFor();
            return new String(process.getInputStream().readAllBytes());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. internal/lock/lock_nix.go

    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    		}
    	}
    
    	return &LockedFile{File: f}, nil
    }
    
    // TryLockedOpenFile - tries a new write lock, functionality
    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    // mode but along with syscall.LOCK_NB such that the function
    // doesn't wait forever but instead returns if it cannot
    // acquire a write lock.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Click Count (0)
Back to Top