Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 714 for lang_th (0.05 sec)

  1. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        List<Object> values = new ArrayList<>(map.values());
        assertEquals(2 * entries.size(), alternatingKeysAndValues.length);
        assertEquals(2 * keys.size(), alternatingKeysAndValues.length);
        assertEquals(2 * values.size(), alternatingKeysAndValues.length);
        for (int i = 0; i < map.size(); i++) {
          Object expectedKey = alternatingKeysAndValues[2 * i];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MultiReaderTest.java

                };
              }
            };
        Reader joinedReader = CharSource.concat(reader, reader, reader).openStream();
        String result = CharStreams.toString(joinedReader);
        assertEquals(testString.length() * 3, result.length());
      }
    
      public void testReady() throws Exception {
        CharSource source = newCharSource("a");
        Iterable<? extends CharSource> list = ImmutableList.of(source, source);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. internal/lru/lru.go

    func (c *LRU[K, V]) Len() int {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	return c.evictList.Length()
    }
    
    // Resize changes the cache size. Size of 0 means unlimited.
    func (c *LRU[K, V]) Resize(size int) (evicted int) {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	if size <= 0 {
    		c.size = 0
    		return 0
    	}
    	diff := c.evictList.Length() - size
    	if diff < 0 {
    		diff = 0
    	}
    	for i := 0; i < diff; i++ {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /**
         * Get the value for the key 'max.log.output.length'. <br>
         * The value is, e.g. 4000 <br>
         * comment: Maximum length of log output.
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getMaxLogOutputLength();
    
        /**
         * Get the value for the key 'max.log.output.length' as {@link Integer}. <br>
         * The value is, e.g. 4000 <br>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 525.6K bytes
    - Viewed (1)
  5. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

            byte[] buffer = new byte[10];
            int len = 10;
            int result = response.readDataWireFormat(buffer, 0, len);
            assertEquals(len, result, "readDataWireFormat should return the length when pipeIn is null.");
        }
    
        /**
         * Tests the readDataWireFormat method when the pipe has a valid input stream.
         */
        @Test
        void testReadDataWireFormat_withPipeIn() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashMap.java

       * next  = 00000bbb
       * entry = aaaaabbb
       * </pre>
       *
       * <p>The pointers in [size(), entries.length) are all "null" (UNSET).
       */
      @VisibleForTesting transient int @Nullable [] entries;
    
      /**
       * The keys of the entries in the map, in the range of [0, size()). The keys in [size(),
       * keys.length) are all {@code null}.
       */
      @VisibleForTesting transient @Nullable Object @Nullable [] keys;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/CommonServerMessageBlock.java

        /**
         * Decode message data from the given byte array
         *
         * @param buffer the byte array containing the message data
         * @param bufferIndex the starting index in the buffer
         * @return message length
         * @throws SMBProtocolDecodingException if decoding fails
         */
        int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException;
    
        /**
         * Encodes this message into a byte array.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
            for (int i = 0; i < arguments.length; i++) {
              if (!parameterTypes[i].isAssignableFrom(arguments[i].getClass())) {
                continue METHODS;
              }
            }
            return method;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

         * @param len length of data to read
         * @return number of bytes read
         */
        protected abstract int readSetupWireFormat(byte[] buffer, int bufferIndex, int len);
    
        /**
         * Reads parameters from wire format
         * @param buffer source buffer
         * @param bufferIndex starting index in source buffer
         * @param len length of data to read
         * @return number of bytes read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            }
        }
    
        // --- Server-side copy path (SMB2 + same tree) for zero-length files ---
    
        @Test
        @DisplayName("copyFile uses server-side copy for zero-length and returns")
        void copyFile_serverSide_zeroLength_happyPath() throws Exception {
            // Arrange
            SmbFile src = mock(SmbFile.class);
    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