Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 2,167 for watch (0.04 sec)

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

         */
        public static FileOutputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new FileOutputStream(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * {@link OutputStream}をflushします。
         *
         * @param out
         *            出力ストリーム
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/IntMathTest.java

          boolean isPowerOf2 = IntMath.isPowerOfTwo(x);
          try {
            assertEquals(x, 1 << IntMath.log2(x, UNNECESSARY));
            assertTrue(isPowerOf2);
          } catch (ArithmeticException e) {
            assertFalse(isPowerOf2);
          }
        }
      }
    
      @GwtIncompatible // log10
      public void testLog10ZeroAlwaysThrows() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            try {
                list.getEntry(-1);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
            try {
                list.getEntry(3);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

            return charMappingService.getCharMappingFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.charMappingFile.getInputStream()) {
                    file.update(inputStream);
                } catch (final IOException e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsFailedToUploadMappingFile(GLOBAL),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-utils_test.go

    			return false
    		}
    		return versions[i].ModTime.After(versions[j].ModTime)
    	})
    
    	for i, fi := range fivs.Versions {
    		if fi.VersionID != versions[i].VersionID {
    			t.Fatalf("getFileInfoVersions: versions don't match at %d, version id expected %s but got %s", i, fi.VersionID, versions[i].VersionID)
    		}
    		if fi.NumVersions != len(fivs.Versions) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

                RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
                try {
                    interpolator.addValueSource(new EnvarBasedValueSource());
                } catch (IOException e) {
                    // ignored
                }
                interpolator.addValueSource(new MapBasedValueSource(System.getProperties()));
    
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ConscryptTest.kt

        assertTrue(ConscryptPlatform.atLeastVersion(version.major(), version.minor()))
        assertTrue(ConscryptPlatform.atLeastVersion(version.major(), version.minor(), version.patch()))
        assertFalse(ConscryptPlatform.atLeastVersion(version.major(), version.minor(), version.patch() + 1))
        assertFalse(ConscryptPlatform.atLeastVersion(version.major(), version.minor() + 1))
        assertFalse(ConscryptPlatform.atLeastVersion(version.major() + 1))
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

        try {
          super.get();
        } catch (ExecutionException e) {
          rethrow(e);
        }
        throw new AssertionError("Unreachable");
      }
    
      @Override
      public V get(long timeout, TimeUnit unit)
          throws InterruptedException, ExecutionException, TimeoutException {
        try {
          super.get(timeout, unit);
        } catch (ExecutionException e) {
          rethrow(e);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 12 20:02:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/FileUtil.java

            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        public static void writeBytes(final String pathname, final byte[] bytes) {
            try (FileOutputStream fos = OutputStreamUtil.create(new File(pathname))) {
                ChannelUtil.write(fos.getChannel(), ByteBuffer.wrap(bytes));
            } catch (final IOException e) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SambaHelper.java

            final int type = sid.getType();
            if (logger.isDebugEnabled()) {
                try {
                    logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString());
                } catch (final Exception e) {
                    // ignore
                }
            }
            final Integer id = fessConfig.getAvailableSmbSidType(type);
            if (id != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 27 10:58:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top