Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1271 - 1280 of 4,787 for _new (0.02 sec)

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

      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
      public void testIdentityKeySetIteratorRemove() {
        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
                new IdentityHashMap<Integer, String>(), new IdentityHashMap<String, Integer>()) {};
        bimap.put(1, "one");
        bimap.put(2, "two");
        bimap.put(3, "three");
        Iterator<Integer> iterator = bimap.keySet().iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 14 14:52:51 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesTest.java

        Files.copy(i18nFile, temp1);
        moveHelper(true, new UnmovableFile(temp1, false, true), temp2);
        assertTrue(Files.equal(temp2, i18nFile));
      }
    
      public void testMoveFailures() throws IOException {
        File temp1 = createTempFile();
        File temp2 = createTempFile();
    
        moveHelper(false, new UnmovableFile(temp1, false, false), temp2);
        moveHelper(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

                        if (_arrays < 0 || _arrays > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
                        array = new ShareInfo0[_arrays];
                    }
                    _src = _src.derive(_arrayi);
                    for (int _i = 0; _i < _arrays; _i++) {
                        if (array[_i] == null) {
                            array[_i] = new ShareInfo0();
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 18.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

       * set is serializable.
       *
       * @return a new, empty thread-safe {@code Set}
       * @since 15.0
       */
      public static <E> Set<E> newConcurrentHashSet() {
        return Collections.newSetFromMap(new ConcurrentHashMap<E, Boolean>());
      }
    
      /**
       * Creates a thread-safe set backed by a hash map and containing the given elements. The set is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  5. internal/hash/sha256/sh256.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sha256
    
    import (
    	"crypto/sha256"
    	"hash"
    )
    
    // New initializes a new sha256.New()
    func New() hash.Hash { return sha256.New() }
    
    // Sum256 returns the SHA256 checksum of the data.
    func Sum256(data []byte) [sha256.Size]byte { return sha256.Sum256(data) }
    
    // Size is the size of a SHA256 checksum in bytes.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 26 06:31:35 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingSortedSetTest.class);
        suite.addTest(
            SortedSetTestSuiteBuilder.using(
                    new TestStringSortedSetGenerator() {
                      @Override
                      protected SortedSet<String> create(String[] elements) {
                        return new StandardImplForwardingSortedSet<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Strings.java

         */
        public static byte[] getOEMBytes ( String str, Configuration config ) {
            if ( str == null ) {
                return new byte[0];
            }
            try {
                return str.getBytes(config.getOemEncoding());
            }
            catch ( UnsupportedEncodingException e ) {
                throw new RuntimeCIFSException("Unsupported OEM encoding " + config.getOemEncoding(), e);
            }
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

            if (responseData == null || !responseData.hasResponseBody()) {
                throw new CrawlingAccessException("No response body.");
            }
    
            final ExtractorFactory extractorFactory = crawlerContainer.getComponent("extractorFactory");
            if (extractorFactory == null) {
                throw new CrawlerSystemException("Could not find extractorFactory.");
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsWebAuthenticationCA.java

            WebAuthenticationCQ cq = new WebAuthenticationCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                WebAuthenticationCA ca = new WebAuthenticationCA();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsBoostDocumentRuleCA.java

            BoostDocumentRuleCQ cq = new BoostDocumentRuleCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                BoostDocumentRuleCA ca = new BoostDocumentRuleCA();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top