Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 2,686 for Size (0.02 seconds)

  1. guava/src/com/google/common/collect/Collections2.java

          }
        }
        return sb.append(']').toString();
      }
    
      /** Returns best-effort-sized StringBuilder based on the given collection size. */
      static StringBuilder newStringBuilderForCollection(int size) {
        checkNonnegative(size, "size");
        return new StringBuilder((int) min(size * 8L, Ints.MAX_POWER_OF_TWO));
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Iterable}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 23K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/escape/CharEscaper.java

       */
      private static char[] growBuffer(char[] dest, int index, int size) {
        if (size < 0) { // overflow - should be OutOfMemoryError but GWT/j2cl don't support it
          throw new AssertionError("Cannot increase internal buffer any further");
        }
        char[] copy = new char[size];
        if (index > 0) {
          System.arraycopy(dest, 0, copy, 0, index);
        }
        return copy;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

        }
    
        /**
         * Generates test data with repeating patterns for good compression.
         */
        private byte[] generateTestData(int size) {
            byte[] data = new byte[size];
    
            // Create data with repeating patterns
            for (int i = 0; i < size; i++) {
                if (i % 100 < 50) {
                    data[i] = (byte) 'A';
                } else if (i % 100 < 75) {
                    data[i] = (byte) 'B';
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/reqheader/EditForm.java

         * This is a required field for identifying which request header entry to update.
         */
        @Required
        @Size(max = 1000)
        public String id;
    
        /**
         * The username of the user who last updated this request header configuration.
         * Used for audit trail purposes to track who made changes.
         */
        @Size(max = 1000)
        public String updatedBy;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/elevateword/EditForm.java

         * This is a required field for identifying which elevate word entry to update.
         */
        @Required
        @Size(max = 1000)
        public String id;
    
        /**
         * The username of the user who last updated this elevate word configuration.
         * Used for audit trail purposes to track who made changes.
         */
        @Size(max = 1000)
        public String updatedBy;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/Chars.java

            return true;
          }
          if (object instanceof CharArrayAsList) {
            CharArrayAsList that = (CharArrayAsList) object;
            int size = size();
            if (that.size() != size) {
              return false;
            }
            for (int i = 0; i < size; i++) {
              if (array[start + i] != that.array[that.start + i]) {
                return false;
              }
            }
            return true;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  7. cmd/bucket-replication-metrics_gen.go

    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *InQueueMetric) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 3
    	// write "cq"
    	err = en.Append(0x83, 0xa2, 0x63, 0x71)
    	if err != nil {
    		return
    	}
    	// map header, size 2
    	// write "Count"
    	err = en.Append(0x82, 0xa5, 0x43, 0x6f, 0x75, 0x6e, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteFloat64(z.Curr.Count)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            client.testAddIntentHistory(request, history);
            assertEquals(0, request.getMessages().size());
        }
    
        @Test
        public void test_addIntentHistory_nullHistory() {
            final LlmChatRequest request = new LlmChatRequest();
            client.testAddIntentHistory(request, null);
            assertEquals(0, request.getMessages().size());
        }
    
        @Test
        public void test_addIntentHistory_allFitWithinBothLimits() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            facetQueryView.init();
            int firstSize = facetQueryView.getQueryMap().size();
            int firstQueriesCount = testFacetInfo.getAddedQueries().size();
    
            // Call init again
            facetQueryView.init();
    
            // Size should remain the same
            assertEquals(firstSize, facetQueryView.getQueryMap().size());
            // But queries would be added again to FacetInfo (distinct handles duplicates)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            assertTrue(response instanceof Smb2ChangeNotifyResponse);
        }
    
        @Test
        @DisplayName("Should calculate correct size")
        void testSize() {
            // When
            int size = request.size();
    
            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
Back to Top