Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 812 for clear (0.02 sec)

  1. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            long total = 0;
            while (from.read(buf) != -1) {
              ((Buffer) buf).flip();
              to.append(buf);
              total += buf.remaining();
              ((Buffer) buf).clear();
            }
            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/advanced-dependencies.md

    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[22] *}
    
    /// tip
    
    All this might seem contrived. And it might not be very clear how is it useful yet.
    
    These examples are intentionally simple, but show how it all works.
    
    In the chapters about security, there are utility functions that are implemented in this same way.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

        int oldCapacity = links.length;
        links = Arrays.copyOf(links, newCapacity);
        Arrays.fill(links, oldCapacity, newCapacity, UNSET);
      }
    
      @Override
      public void clear() {
        super.clear();
        this.firstEntry = ENDPOINT;
        this.lastEntry = ENDPOINT;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // Given
                byte[] buffer = new byte[20];
                int[] positions = { 0, 2, 4, 8, 10, 15 };
    
                for (int pos : positions) {
                    // Clear buffer
                    buffer = new byte[20];
                    SMBUtil.writeInt2(4, buffer, pos);
                    SMBUtil.writeInt2(0, buffer, pos + 2);
    
                    // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

      List<Multiset<Integer>> multisets = new ArrayList<>(0x10000);
      int[] queries = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        Random random = new Random();
        multisets.clear();
        for (int i = 0; i < ARRAY_SIZE; i++) {
          HashMultiset<Integer> multiset = HashMultiset.<Integer>create();
          multisets.add(multiset);
          queries[i] = random.nextInt();
          multiset.add(queries[i]);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            // Invalid integer should use default
            props.clear();
            props.setProperty("jcifs.smb.client.maxChannels", "invalid");
            config = new PropertyConfiguration(props);
            assertEquals(4, config.getMaxChannels());
    
            // Invalid channel binding policy should default to preferred
            props.clear();
            props.setProperty("jcifs.smb.client.channelBindingPolicy", "invalid");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/context/SingletonContextTest.java

                fail("Failed to reset SingletonContext instance: " + e.getMessage());
            }
            // Clear system properties that might affect the test
            System.clearProperty("jcifs.properties");
            System.clearProperty("java.protocol.handler.pkgs");
            // Clear jcifs-specific properties to prevent test interference
            System.clearProperty("jcifs.smb.client.nativeOs");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        // Set<Object> keys = map.keySet();
        // assertThat(keys).containsExactly(one, three);
        // Collection<Object> values = map.values();
        // assertThat(values).containsExactly(one, two);
    
        map.clear();
    
        assertEquals(EMPTY_STATS, cache.stats());
      }
    
      public void testNoStats() {
        CacheBuilder<Object, Object> builder =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/DocListTest.java

            docList.addContentSize(1000);
            docList.addProcessingTime(999);
            assertEquals(1000, docList.getContentSize());
            assertEquals(999, docList.getProcessingTime());
    
            docList.clear();
            assertEquals(0, docList.getContentSize());
            assertEquals(0, docList.getProcessingTime());
        }
    
        public void test_addContentSize_multiple() {
            DocList docList = new DocList();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/RoleTypePager.java

         */
        public String createdTime;
    
        /**
         * Version number of the role type.
         */
        public String versionNo;
    
        /**
         * Clears the pager's state.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
            pageSize = getDefaultPageSize();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top