Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 494 for some (0.18 sec)

  1. src/test/java/jcifs/tests/WatchTest.java

                fail("Did not recieve notification");
            }
        }
    
    
        @Test
        public void testWatchModified () throws InterruptedException, ExecutionException, IOException {
            // samba 4 starting with some version does not seem to handle this correctly :(
            try ( SmbWatchHandle w = this.base
                    .watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_ATTRIBUTES | FileNotifyInformation.FILE_NOTIFY_CHANGE_LAST_WRITE, false) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingListIterator.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>{@code default} method warning:</b> This class forwards calls to <i>only some</i> {@code
     * default} methods. Specifically, it forwards calls only for methods that existed <a
     * href="https://docs.oracle.com/javase/7/docs/api/java/util/ListIterator.html">before {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

        }
    
        /**
         * Initializes the spy.
         *
         * @param context The event spy context, never {@code null}.
         */
        void init(Context context) throws Exception;
    
        /**
         * Notifies the spy of some build event/operation.
         *
         * @param event The event, never {@code null}.
         * @see org.apache.maven.settings.building.SettingsBuildingRequest
         * @see org.apache.maven.settings.building.SettingsBuildingResult
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Arrays;
    import java.util.Iterator;
    
    /**
     * Benchmarks {@link Joiner} against some common implementations of delimiter-based string joining.
     *
     * @author Adomas Paltanavicius
     */
    public class JoinerBenchmark {
    
      private static final String DELIMITER_STRING = ",";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.configuration;
    
    /**
     * A request to configure a bean from some configuration in the POM or similar.
     *
     */
    public interface BeanConfigurationRequest {
    
        /**
         * Gets the bean to configure. Eventually, a valid request must have a bean set.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

       *
       * @return the next two bytes of the input stream, interpreted as an unsigned 16-bit integer in
       *     little-endian byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public int readUnsignedShort() throws IOException {
        byte b1 = readAndCheckByte();
        byte b2 = readAndCheckByte();
    
        return Ints.fromBytes((byte) 0, (byte) 0, b2, b1);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        // 256 characters long
        assertEquals(4904844928629814570L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8)));
      }
    
      public void testStringsConsistency() {
        for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) {
          assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s));
        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A TimeLimiter implementation which actually does not attempt to limit time at all. This may be
     * desirable to use in some unit tests. More importantly, attempting to debug a call which is
     * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in
     * for your real time-limiter while you're debugging.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  10. maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            return (artifact != null) ? copyArtifact(artifact) : null;
        }
    
        public static Artifact copyArtifact(Artifact artifact) {
            VersionRange range = artifact.getVersionRange();
    
            // For some reason with the introduction of MNG-1577 we have the case in Yoko where a depMan section has
            // something like the following:
            //
            // <dependencyManagement>
            //     <dependencies>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 6.9K bytes
    - Viewed (0)
Back to top