Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 700 for counts (0.06 sec)

  1. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

                try {
                    if (count < 10) {
                        System.out.println(path1);
                    }
                    assertThat(path1, is(notNullValue()));
                    assertThat(is, is(notNullValue()));
                    count++;
                } finally {
                    CloseableUtil.close(is);
                }
            });
            assertTrue(count > 0);
        }
    
        /**
         * @throws Exception
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComWriteResponse.java

        private long count;
    
        /**
         * Constructs a write response for SMB1 protocol.
         *
         * @param config the configuration for this SMB session
         */
        public SmbComWriteResponse(final Configuration config) {
            super(config);
        }
    
        /**
         * Gets the number of bytes written.
         *
         * @return the count of bytes written
         */
        public long getCount() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/MD4.java

         *    This constructor is here to implement cloneability of this class.
         */
        private MD4(final MD4 md) {
            this();
            context = md.context.clone();
            buffer = md.buffer.clone();
            count = md.count;
        }
    
        // Cloneable method implementation
        //...........................................................................
    
        /**
         * Returns a copy of this MD object.
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            int count = 0;
            int prev = -1;
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
                int current = Integer.parseInt(source.get("field2").toString());
                assertTrue(prev < current);
                prev = current;
                count++;
            }
            assertEquals(num, count);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/CountTest.java

      }
    
      public void testAddAndGet() {
        Count holder = new Count(20);
        assertEquals(21, holder.addAndGet(1));
      }
    
      public void testGetAndSet() {
        Count holder = new Count(10);
        assertEquals(10, holder.getAndSet(20));
        assertEquals(20, holder.get());
      }
    
      public void testSet() {
        Count holder = new Count(10);
        holder.set(20);
        assertEquals(20, holder.get());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should read various count values")
            @ValueSource(ints = { 0, 1, 100, 1024, 65536, Integer.MAX_VALUE })
            void testReadVariousCountValues(int count) throws SMBProtocolDecodingException {
                byte[] buffer = createValidWriteResponse(count, 0);
    
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

             * Number of DFS entries in the array
             */
            public int count;
            /**
             * Array of DFS information level 1 structures
             */
            public DfsInfo1[] s;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(count);
                _dst.enc_ndr_referent(s, 1);
    
                if (s != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/pager/SearchLogPager.java

        }
    
        /**
         * Gets the total number of pages based on record count and page size.
         *
         * @return The total page count
         */
        public int getAllPageCount() {
            return allPageCount;
        }
    
        /**
         * Sets the total number of pages.
         *
         * @param allPageCount The total page count
         */
        public void setAllPageCount(final int allPageCount) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

                if (now - previousTime < interval) {
                    throw new IllegalStateException();
                }
                previousTime = now;
    
                count++;
                if (count <= exceptionCount) {
                    throw new CrawlerSystemException("exception " + count);
                }
    
                final ResponseData responseData = new ResponseData();
                responseData.setUrl(request.getUrl());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.cc

          if (count < max_consumers) {
            consumers[count] = {ToOperation(edge->dst()), edge->dst_input()};
          }
          ++count;
        }
      }
      return count;
    }
    
    int TF_OperationNumControlInputs(TF_Operation* oper) {
      int count = 0;
      for (const auto* edge : oper->node.in_edges()) {
        if (edge->IsControlEdge() && !edge->src()->IsSource()) {
          ++count;
        }
      }
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
Back to top