Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 351 for nowrap (0.08 sec)

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

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        List<String> list1 = ImmutableList.of("one");
        List<String> list2 = ImmutableList.of("two");
        new EqualsTester()
            .addEqualityGroup(list1, wrap(list1), wrap(list1))
            .addEqualityGroup(list2, wrap(list2))
            .testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

            return (T) crawlerContainer.getComponent(componentName);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.apache.commons.pool2.BasePooledObjectFactory#wrap(java.lang.Object)
         */
        @Override
        public PooledObject<T> wrap(final T obj) {
            return new DefaultPooledObject<>(obj);
        }
    
        @Override
        public void destroyObject(final PooledObject<T> p) throws Exception {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(TypeToken.of(Primitives.wrap((Class<?>) type.getType())), type.wrap());
      }
    
      private static void assertNotPrimitive(TypeToken<?> type) {
        assertFalse(type.isPrimitive());
        assertSame(type, type.wrap());
      }
    
      private static void assertIsWrapper(TypeToken<?> type) {
        assertNotPrimitive(type);
        assertEquals(TypeToken.of(Primitives.unwrap((Class<?>) type.getType())), type.unwrap());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java

        }
      }
    
      public final void testConsistentToString() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertEquals(testInstance.rowMap().toString(), testInstance.toString());
        }
      }
    
      public final void testConsistentHashCode() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SID.java

         * </table>
         * 
         * @return type code
         */
        int getType ();
    
    
        /**
         * 
         * @param type
         * @return unwrapped instance
         */
        public <T> T unwrap ( Class<T> type );
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

          assertEquals(
              ImmutableMap.of('a', ImmutableMap.of(1, "foo", 2, "baz"), 'b', ImmutableMap.of(1, "bar")),
              testInstance.rowMap());
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_TensorHandle* var_handle0 = TestVariable(ctx, 1.0, dev0_name);
      EXPECT_NE(var_handle0, nullptr);
    
      absl::Status status2;
      EXPECT_EQ(tensorflow::unwrap(var_handle0)->DeviceName(&status2), dev0_name);
    
      // Rename local device
      // This server def has the task index set to 0.
      string serialized = server_def.SerializeAsString();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharSourceTest.java

        assertTrue(okSource.wasStreamClosed());
      }
    
      public void testConcat() throws IOException {
        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Callables.java

      }
    
      /**
       * Wraps the given callable such that for the duration of {@link Callable#call} the thread that is
       * running will have the given name.
       *
       * @param callable The callable to wrap
       * @param nameSupplier The supplier of thread names, {@link Supplier#get get} will be called once
       *     for each invocation of the wrapped callable.
       */
      @J2ktIncompatible
      @GwtIncompatible // threads
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedSet<String> set1 = ImmutableSortedSet.of("one");
        SortedSet<String> set2 = ImmutableSortedSet.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top