Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 3,507 for Int (0.01 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

      public void testSize() {
        int expectedSize = getNumElements();
        Multimap<K, V> multimap = multimap();
        assertEquals(expectedSize, multimap.size());
    
        int size = 0;
        for (Entry<K, V> entry : multimap.entries()) {
          assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
          size++;
        }
        assertEquals(expectedSize, size);
    
        int size2 = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                    "1000, 1000, 1000, 8, 512" // All space free
            })
            void shouldDecodeVariousSectorConfigurations(long alloc, long callerFree, long actualFree, int sectPerAlloc, int bytesPerSect)
                    throws SMBProtocolDecodingException {
                // Given
                ByteBuffer buffer = ByteBuffer.allocate(32);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            final CrawlerWebServer server = new CrawlerWebServer(7070);
            server.start();
    
            final String url = "http://localhost:7070/";
            try {
                final int maxCount = 50;
                final int numOfThread = 10;
    
                final File file = File.createTempFile("crawler-", "");
                file.delete();
                file.mkdirs();
                file.deleteOnExit();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

              int maxChars = (int) (size.get().intValue() * cs.newDecoder().maxCharsPerByte());
              char[] buffer = new char[maxChars];
              int bufIndex = 0;
              int remaining = buffer.length;
              try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) {
                int nRead = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

         */
        protected int memorySize = 1024 * 1024; //1mb
    
        /**
         * Max size of an alpha-numeric term.
         */
        protected int maxAlphanumTermSize = -1;
    
        /**
         * Max size of a symbol term.
         */
        protected int maxSymbolTermSize = -1;
    
        /**
         * Tika config.
         */
        protected TikaConfig tikaConfig;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            public int numberOfInFlightFetch;
            /** Number of pending tasks */
            public int numberOfPendingTasks;
            /** Number of delayed unassigned shards */
            public int delayedUnassignedShards;
            /** Number of unassigned shards */
            public int unassignedShards;
            /** Number of initializing shards */
            public int initializingShards;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

        }
    
        /**
         * Converts to {@literal int}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@literal int}
         */
        public static int toPrimitiveInt(final Object o) {
            return toPrimitiveInt(o, null);
        }
    
        /**
         * Converts to {@literal int}.
         *
         * @param o
         *            The object to convert
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            int dstIndex = 5; // Start at offset 5
            int bytesEncoded = fileInternalInfo.encode(destinationBuffer, dstIndex);
    
            // Verify
            assertEquals(8, bytesEncoded);
            assertEquals(expectedIndexNumber, SMBUtil.readInt8(destinationBuffer, dstIndex));
    
            // Verify surrounding bytes are untouched
            for (int i = 0; i < dstIndex; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

        public void testAddAll_int() throws Exception {
            final int[] array = new int[] { 111 };
            final int[] newArray = ArrayUtil.add(array, 222);
            assertThat(newArray.length, is(2));
            assertThat(newArray[0], is(111));
            assertThat(newArray[1], is(222));
    
            final int[] emptyArray = new int[0];
            assertThat(ArrayUtil.addAll((int[]) null, (int[]) null), is(nullValue()));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        }
    
        @Test
        @DisplayName("Test size returns positive message size")
        void testSizeReturnsPositiveValue() {
            // Given
            int expectedSize = 1024;
            when(request.size()).thenReturn(expectedSize);
    
            // When
            int result = request.size();
    
            // Then
            assertEquals(expectedSize, result);
            verify(request, times(1)).size();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top