Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for folder2 (0.19 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        }
    
        private static final long serialVersionUID = 5;
      }
    
      public void testMutableValues() {
        IntHolder holderA = new IntHolder(1);
        IntHolder holderB = new IntHolder(2);
        Map<String, IntHolder> map = ImmutableSortedMap.of("a", holderA, "b", holderB);
        holderA.value = 3;
        assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3))));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ViewHelper.java

        protected static final String CACHE_MSG = "cache_msg";
    
        protected static final Pattern LOCAL_PATH_PATTERN = Pattern.compile("^file:/+[a-zA-Z]:");
    
        protected static final Pattern SHARED_FOLDER_PATTERN = Pattern.compile("^file:/+[^/]\\.");
    
        protected static final String ELLIPSIS = "...";
    
        protected boolean encodeUrlLink = false;
    
        protected String urlLinkEncoding = Constants.UTF_8;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  3. android/guava/src/com/google/common/cache/Striped64.java

       * contention. See above for explanation. This method suffers the usual non-modularity problems of
       * optimistic retry code, relying on rechecked sets of reads.
       *
       * @param x the value
       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
      final void retryUpdate(long x, @CheckForNull int[] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        Collection<E> siblingCollection = new ArrayList<>();
        siblingCollection.add(sampleElement);
    
        Collection<E> copy = new ArrayList<>();
        // Avoid copy.addAll(collection), which runs afoul of an Android bug in older versions:
        // http://b.android.com/72073 http://r.android.com/98929
        Iterators.addAll(copy, collection.iterator());
    
        try {
          collection.add(sampleElement);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedBytes.java

           * And, no, defining (final or not) local variables out of the loop still isn't as good
           * because the null check on the theUnsafe object remains inside the loop and
           * BYTE_ARRAY_BASE_OFFSET doesn't get constant-folded.
           *
           * The compiler can treat static final fields as compile-time constants and can constant-fold
           * them while (final or not) local variables are run time values.
           */
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      }
    
      final transient ImmutableMap<K, ? extends ImmutableCollection<V>> map;
      final transient int size;
    
      // These constants allow the deserialization code to set final fields. This
      // holder class makes sure they are not initialized unless an instance is
      // deserialized.
      @GwtIncompatible // java serialization is not supported
      @J2ktIncompatible
      static class FieldSettersHolder {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMultimap.java

      }
    
      final transient ImmutableMap<K, ? extends ImmutableCollection<V>> map;
      final transient int size;
    
      // These constants allow the deserialization code to set final fields. This
      // holder class makes sure they are not initialized unless an instance is
      // deserialized.
      @GwtIncompatible // java serialization is not supported
      @J2ktIncompatible
      static class FieldSettersHolder {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        }
    
        private static final long serialVersionUID = 5;
      }
    
      public void testMutableValues() {
        IntHolder holderA = new IntHolder(1);
        IntHolder holderB = new IntHolder(2);
        Map<String, IntHolder> map = ImmutableMap.of("a", holderA, "b", holderB);
        holderA.value = 3;
        assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3))));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        ImmutableSetMultimap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
Back to top