Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Kemp (0.25 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClusterException.java

            exceptions.iterator().next());
        ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions);
        this.exceptions = Collections.unmodifiableCollection(temp);
      }
    
      /** See {@link #create(Collection)}. */
      static RuntimeException create(Throwable... exceptions) {
        ArrayList<Throwable> temp = new ArrayList<>(Arrays.asList(exceptions));
        return create(temp);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/IoTestCase.java

      }
    
      /**
       * Creates a new temp dir for testing. The returned directory and all contents of it will be
       * deleted in the tear-down for this test.
       */
      protected final File createTempDir() throws IOException {
        File tempFile = File.createTempFile("IoTestCase", "");
        if (!tempFile.delete() || !tempFile.mkdir()) {
          throw new IOException("failed to create temp dir");
        }
        filesToDelete.add(tempFile);
    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)
  3. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

    public class FloatArrayAsListTest extends TestCase {
    
      private static List<Float> asList(Float[] values) {
        float[] temp = new float[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Floats.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

    public class LongArrayAsListTest extends TestCase {
    
      private static List<Long> asList(Long[] values) {
        long[] temp = new long[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Longs.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCamelize() throws Exception {
            assertNull(StringUtil.camelize(null));
            assertEquals("Emp", StringUtil.camelize("EMP"));
            assertEquals("AaaBbb", StringUtil.camelize("AAA_BBB"));
            assertEquals("UserId", StringUtil.camelize("USER_ID"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesTest.java

        assertTrue(Files.equal(i18nFile, temp));
      }
    
      public void testTouch() throws IOException {
        File temp = createTempFile();
        assertTrue(temp.exists());
        assertTrue(temp.delete());
        assertFalse(temp.exists());
        Files.touch(temp);
        assertTrue(temp.exists());
        Files.touch(temp);
        assertTrue(temp.exists());
    
        assertThrows(
            IOException.class,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmUtil.java

            byte[] temp = new byte[28 + avPairsLength + 4];
    
            Encdec.enc_uint32le(0x00000101, temp, 0); // Header
            Encdec.enc_uint32le(0x00000000, temp, 4); // Reserved
            Encdec.enc_uint64le(nanos1601, temp, 8);
            System.arraycopy(clientChallenge, 0, temp, 16, 8);
            Encdec.enc_uint32le(0x00000000, temp, 24); // Unknown
            if ( avPairs != null )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 9.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/MoreFilesTest.java

      public void testTouch() throws IOException {
        Path temp = createTempFile();
        assertTrue(Files.exists(temp));
        Files.delete(temp);
        assertFalse(Files.exists(temp));
    
        MoreFiles.touch(temp);
        assertTrue(Files.exists(temp));
        MoreFiles.touch(temp);
        assertTrue(Files.exists(temp));
      }
    
      public void testTouchTime() throws IOException {
        Path temp = createTempFile();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                    final File propFile = ComponentUtil.getSystemHelper().createTempFile("thumbnail_", ".properties");
                    if (propFile.delete() && logger.isDebugEnabled()) {
                        logger.debug("Deleted a temp file: {}", propFile.getAbsolutePath());
                    }
                    systemProperties.reload(propFile.getAbsolutePath());
                    propFile.deleteOnExit();
                } catch (final Exception e) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/FileBackedOutputStream.java

          File temp = TempFileCreator.INSTANCE.createTempFile("FileBackedOutputStream");
          if (resetOnFinalize) {
            // Finalizers are not guaranteed to be called on system shutdown;
            // this is insurance.
            temp.deleteOnExit();
          }
          try {
            FileOutputStream transfer = new FileOutputStream(temp);
            transfer.write(memory.getBuffer(), 0, memory.getCount());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
Back to top