Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Kemp (0.14 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. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          assertThrows(IllegalStateException.class, Files::createTempDir);
          return;
        }
        File temp = Files.createTempDir();
        try {
          assertThat(temp.exists()).isTrue();
          assertThat(temp.isDirectory()).isTrue();
          assertThat(temp.listFiles()).isEmpty();
          File child = new File(temp, "child");
          assertThat(child.createNewFile()).isTrue();
          assertThat(child.delete()).isTrue();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

              from = low;
            }
          }
        }
      }
    
      private static void swap(double[] array, int i, int j) {
        // This is a copy of com.google.math.Rank#swap.
        double temp = array[i];
        array[i] = array[j];
        array[j] = temp;
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

              from = low;
            }
          }
        }
      }
    
      private static void swap(double[] array, int i, int j) {
        // This is a copy of com.google.math.Rank#swap.
        double temp = array[i];
        array[i] = array[j];
        array[j] = temp;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Quantiles.java

          return low;
        }
      }
    
      /** Swaps the values at {@code i} and {@code j} in {@code array}. */
      private static void swap(double[] array, int i, int j) {
        double temp = array[i];
        array[i] = array[j];
        array[j] = temp;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
Back to top