Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,961 for findall (0.2 sec)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

         * @return ファイルの内容を読み込んだバイト配列
         */
        public static byte[] readBytes(final File file) {
            assertArgumentNotNull("file", file);
    
            final FileInputStream is = InputStreamUtil.create(file);
            try {
                final FileChannel channel = is.getChannel();
                final ByteBuffer buffer = ByteBuffer.allocate((int) ChannelUtil.size(channel));
                ChannelUtil.read(channel, buffer);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      // http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/
    
      private static final long serialVersionUID = 5595510919245408276L;
    
      final PriorityQueue<E> q;
      final Monitor monitor = new Monitor(true);
      private final Monitor.Guard notEmpty =
          new Monitor.Guard(monitor) {
            @Override
            public boolean isSatisfied() {
              return !q.isEmpty();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        // exposed or used.
        private final CycleDetectingReentrantReadLock readLock;
        private final CycleDetectingReentrantWriteLock writeLock;
    
        private final LockGraphNode lockGraphNode;
    
        private CycleDetectingReentrantReadWriteLock(LockGraphNode lockGraphNode, boolean fair) {
          super(fair);
          this.readLock = new CycleDetectingReentrantReadLock(this);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          this.satisfied = satisfied;
        }
      }
    
      private final Method method;
      private final Scenario scenario;
      private final Timeout timeout;
      private final Outcome expectedOutcome;
      private final Monitor monitor;
      private final FlagGuard guard;
      private final CountDownLatch tearDownLatch;
      private final CountDownLatch doingCallLatch;
      private final CountDownLatch callCompletedLatch;
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharSinkTester.java

        TestSuite stringSuite = new TestSuite(name + " [" + desc + "]");
        for (final Method method : testMethods) {
          stringSuite.addTest(new CharSinkTester(factory, string, name, desc, method));
        }
        return stringSuite;
      }
    
      private final ImmutableList<String> lines;
      private final ImmutableList<String> expectedLines;
    
      private CharSink sink;
    
      public CharSinkTester(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/IoTestCase.java

     */
    public abstract class IoTestCase extends TestCase {
    
      private static final Logger logger = Logger.getLogger(IoTestCase.class.getName());
    
      static final String I18N =
          "\u00CE\u00F1\u0163\u00E9\u0072\u00F1\u00E5\u0163\u00EE\u00F6"
              + "\u00F1\u00E5\u013C\u00EE\u017E\u00E5\u0163\u00EE\u00F6\u00F1";
    
      static final String ASCII =
          " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

      // ----------------------------------------------------------------
    
      class Interruptenator extends Thread {
        final AtomicBoolean shutdown;
    
        Interruptenator(final Thread interruptee) {
          this(interruptee, new AtomicBoolean(false));
        }
    
        Interruptenator(final Thread interruptee, final AtomicBoolean shutdown) {
          super(
              new Runnable() {
                @Override
                public void run() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

      // ----------------------------------------------------------------
    
      class Interruptenator extends Thread {
        final AtomicBoolean shutdown;
    
        Interruptenator(final Thread interruptee) {
          this(interruptee, new AtomicBoolean(false));
        }
    
        Interruptenator(final Thread interruptee, final AtomicBoolean shutdown) {
          super(
              new Runnable() {
                public void run() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/SerializeUtil.java

                final ObjectInputStream ois = new ObjectInputStream(bais);
                try {
                    return ois.readObject();
                } finally {
                    CloseableUtil.close(ois);
                }
            } catch (final IOException ex) {
                throw new IORuntimeException(ex);
            } catch (final ClassNotFoundException ex) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSource.java

            return seq.length();
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
        }
      }
    
      private static final class EmptyCharSource extends StringCharSource {
    
        private static final EmptyCharSource INSTANCE = new EmptyCharSource();
    
        private EmptyCharSource() {
          super("");
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
Back to top