Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 344 for SHORT (0.02 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        sink.putBytes(new byte[] {8});
        HashCode unused = sink.hash();
        sink.assertInvariants(8);
        sink.assertBytes(expected);
      }
    
      public void testShort() {
        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/InetAddresses.java

              end = ipString.length();
            }
            if (ipString.charAt(start) == IPV6_DELIMITER) {
              // expand zeroes
              for (int i = 0; i < partsSkipped; i++) {
                rawBytes.putShort((short) 0);
              }
    
            } else {
              rawBytes.putShort(parseHextet(ipString, start, end));
            }
            start = end + 1;
          }
        } catch (NumberFormatException ex) {
          return null;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  3. cmd/admin-handlers-idp-ldap.go

    			}
    			opts.claims[k] = v
    		}
    	} else {
    		// We still need to ensure that the target user is a valid LDAP user.
    		//
    		// The target user may be supplied as a (short) username or a DN.
    		// However, for now, we only support using the short username.
    
    		isDN := globalIAMSys.LDAPConfig.ParsesAsDN(targetUser)
    		opts.claims[ldapUserN] = targetUser // simple username
    		var lookupResult *xldap.DNSearchResult
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:46:04 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hasher.java

      @Override
      Hasher putBytes(byte[] bytes, int off, int len);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(ByteBuffer bytes);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putShort(short s);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putInt(int i);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putLong(long l);
    
      /** Equivalent to {@code putInt(Float.floatToRawIntBits(f))}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

        void testGetFileInformationLevel() {
            assertEquals(FileInformation.FILE_RENAME_INFO, fileRenameInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test size calculation with short filename")
        void testSizeWithShortFilename() {
            FileRenameInformation2 info = new FileRenameInformation2("test.txt", false);
            // 20 bytes fixed + 2 * 8 chars = 20 + 16 = 36
            assertEquals(36, info.size());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

        -> TYPE_VALID
    
        TYPE_DISALLOWED -> TYPE_DISALLOWED
    
        else -> error("unexpected type: $type")
      }
    
    internal infix fun Byte.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Short.and(mask: Int): Int = toInt() and mask
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ResourceManagerTest.java

        @Test
        @DisplayName("Test automatic cleanup of old resources")
        @Timeout(value = 5, unit = TimeUnit.SECONDS)
        void testAutomaticCleanup() throws InterruptedException {
            // Configure with very short max age for testing
            resourceManager.configure(100, 50, true, true);
    
            TestResource resource = new TestResource("old");
            resourceManager.registerResource(resource);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/transport/TransportTest.java

                assertArrayEquals("Hello".getBytes(), java.util.Arrays.copyOfRange(buffer, 0, 5));
            }
    
            @Test
            @DisplayName("readn should throw IOException when buffer too short")
            void shouldThrowWhenBufferTooShort() {
                InputStream is = new ByteArrayInputStream("test".getBytes());
                assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10));
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

                return !attributes.isEmpty();
            }
    
            @Override
            public String getBaseURI() {
                return null;
            }
    
            @Override
            public short compareDocumentPosition(Node other) {
                return 0;
            }
    
            @Override
            public String getTextContent() {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            helper.delayByRules();
            end = System.currentTimeMillis();
            assertTrue(end - start < 50); // Should return quickly
    
            // Test with rule that has delay (we'll use a very short delay for testing)
            helper.ruleList.clear();
            helper.addIntervalRule("12:00", "13:00", "*", 10);
            start = System.currentTimeMillis();
            helper.delayByRules();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top