Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,241 for construct (1.02 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
     * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certain
     * platform classes unavailable. Then we construct a test suite so we can run the normal FuturesTest
     * test methods in these degenerate classloaders.
     */
    
    public class AggregateFutureStateFallbackAtomicHelperTest extends TestCase {
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/SparseImmutableTable.java

          Cell<R, C, V> cell = cellList.get(i);
          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          V value = cell.getValue();
    
          /*
           * These requireNonNull calls are safe because we construct the maps to hold all the provided
           * cells.
           */
          cellRowIndices[i] = requireNonNull(rowIndex.get(rowKey));
          Map<C, V> thisRow = requireNonNull(rows.get(rowKey));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            try {
                docResource = new File(myClasspathEntry).toURL();
            } catch (MalformedURLException e) {
                throw new ExpressionDocumentationException(
                        "Cannot construct expression documentation classpath" + " resource base.", e);
            }
    
            return new URLClassLoader(new URL[] {docResource});
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

            if (size.isPresent() && size.get().longValue() == size.get().intValue()) {
              // otherwise try to presize a StringBuilder
              // it is kind of lame that we need to construct a decoder to access this value.
              // if this is a concern we could add special cases for some known charsets (like utf8)
              // or we could avoid inputstreamreader and use the decoder api directly
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

            if (size.isPresent() && size.get().longValue() == size.get().intValue()) {
              // otherwise try to presize a StringBuilder
              // it is kind of lame that we need to construct a decoder to access this value.
              // if this is a concern we could add special cases for some known charsets (like utf8)
              // or we could avoid inputstreamreader and use the decoder api directly
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/UUID.java

            this.node[ 2 ] = uuid.node[ 2 ];
            this.node[ 3 ] = uuid.node[ 3 ];
            this.node[ 4 ] = uuid.node[ 4 ];
            this.node[ 5 ] = uuid.node[ 5 ];
        }
    
    
        /**
         * Construct a UUID from string
         * 
         * @param str
         */
        public UUID ( String str ) {
            char[] arr = str.toCharArray();
            this.time_low = hex_to_bin(arr, 0, 8);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     *
     * To force selection of our fallback strategies we load {@link AbstractFuture} (and all of {@code
     * com.google.common.util.concurrent}) in degenerate class loaders which make certain platform
     * classes unavailable. Then we construct a test suite so we can run the normal AbstractFutureTest
     * test methods in these degenerate classloaders.
     */
    
    public class AbstractFutureFallbackAtomicHelperTest extends TestCase {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type1Message.java

        }
    
    
        /**
         * Creates a Type-1 message using the given raw Type-1 material.
         *
         * @param material
         *            The raw Type-1 material used to construct this message.
         * @throws IOException
         *             If an error occurs while parsing the material.
         */
        public Type1Message ( byte[] material ) throws IOException {
            parse(material);
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Sep 02 12:55:08 GMT 2018
    - 7.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

          assertThat(expected).hasMessageThat().contains("testCheckNoOverflow_failure(0, 0)");
        }
      }
    
      public void testNulls() {
        /*
         * Don't bother testing. All non-primitive parameters are used only to construct error messages.
         * We never want to pass null for them, so we haven't annotated them to say that null is
         * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

          assertThat(expected).hasMessageThat().contains("testCheckNoOverflow_failure(0, 0)");
        }
      }
    
      public void testNulls() {
        /*
         * Don't bother testing. All non-primitive parameters are used only to construct error messages.
         * We never want to pass null for them, so we haven't annotated them to say that null is
         * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.2K bytes
    - Viewed (0)
Back to top