Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 1,472 for bize (0.02 seconds)

  1. guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

      @BeforeExperiment
      void setUp() {
        testBytesA = new byte[size];
        random.nextBytes(testBytesA);
        testBytesB = Arrays.copyOf(testBytesA, size);
        int indexToDifferAt = -1;
        switch (whereToDiffer) {
          case ONE_PERCENT_IN:
            indexToDifferAt = (int) (size * 0.01);
            break;
          case LAST_BYTE:
            indexToDifferAt = size - 1;
            break;
          case NOT_AT_ALL:
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/ChatSessionTest.java

            assertNotNull(session.getMessages());
            assertEquals(1, session.getMessages().size());
        }
    
        @Test
        public void test_addUserMessage() {
            final ChatSession session = new ChatSession();
            session.addUserMessage("User message content");
    
            assertEquals(1, session.getMessages().size());
            assertEquals(ChatMessage.ROLE_USER, session.getMessages().get(0).getRole());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

      private var contentLength = -1L
    
      @get:JvmName("boundary")
      val boundary: String
        get() = boundaryByteString.utf8()
    
      /** The number of parts in this multipart body. */
      @get:JvmName("size")
      val size: Int
        get() = parts.size
    
      fun part(index: Int): Part = parts[index]
    
      override fun isOneShot(): Boolean = parts.any { it.body.isOneShot() }
    
      /** A combination of [type] and [boundaryByteString]. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        assertEquals(underlying.size(), map.size());
    
        underlying.put("d", 4);
        assertEquals(underlying.size(), map.size());
        assertThat(map.get("d")).isEqualTo("4");
    
        underlying.remove("c");
        assertEquals(underlying.size(), map.size());
        assertFalse(map.containsKey("c"));
    
        underlying.clear();
        assertEquals(underlying.size(), map.size());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

        } else if (size < 0) {
          throw new IllegalArgumentException("negative size: " + size);
        } else { // index >= size
          return lenientFormat("%s (%s) must be less than size (%s)", desc, index, size);
        }
      }
    
      /**
       * Ensures that {@code index} specifies a valid <i>position</i> in an array, list or string of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  6. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

    }
    
    /**
     * Modifies [ranges] to combine any adjacent [MappedRange.InlineDelta] of same size to single entry.
     * @returns same instance of [ranges] for convenience
     */
    internal fun mergeAdjacentDeltaMappedRanges(ranges: MutableList<MappedRange>): MutableList<MappedRange> {
      var i = 0
      while (i < ranges.size) {
        val curr = ranges[i]
        if (curr is MappedRange.InlineDelta) {
          val j = i + 1
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/storage/StorageItem.java

        private final boolean directory;
        private final long size;
        private final ZonedDateTime lastModified;
        private final String encodedId;
    
        /**
         * Creates a new StorageItem instance.
         *
         * @param name the name of the item
         * @param path the path of the item
         * @param directory true if this item is a directory
         * @param size the size of the item in bytes
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/pager/SchedulerPager.java

        }
    
        /**
         * Gets the page size.
         * @return The page size.
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
            return pageSize;
        }
    
        /**
         * Sets the page size.
         * @param pageSize The page size.
         */
        public void setPageSize(final int pageSize) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/pager/ElevateWordPager.java

            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records per page.
         * If page size is not set or invalid, returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
            return pageSize;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        val inflater = MessageInflater(false)
    
        val goldenValue = "Hello deflate!".repeat(100).encodeUtf8()
    
        val deflated = deflater.deflate(goldenValue)
        assertThat(deflated.size).isLessThan(goldenValue.size)
        val inflated = inflater.inflate(deflated)
    
        assertThat(inflated).isEqualTo(goldenValue)
      }
    
      @Test fun `inflate deflate empty message`() {
        val deflater = MessageDeflater(false)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:26:07 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top