Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 665 for 16 (3 sec)

  1. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            String input = "UTF-16 test";
            InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_16));
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_16, 10, null);
            thread.start();
            thread.join(1000);
    
            String output = thread.getOutput();
            assertTrue(output.contains("UTF-16 test"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacMac.java

            try {
                // little endian
                md.update((byte) (ms_usage & 0xFF));
                md.update((byte) (ms_usage >> 8 & 0xFF));
                md.update((byte) (ms_usage >> 16 & 0xFF));
                md.update((byte) (ms_usage >> 24 & 0xFF));
                byte[] dgst = md.digest(data);
                mac.reset();
                mac.init(new SecretKeySpec(dk, HMAC_KEY));
                return mac.doFinal(dgst);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/body.md

        "price": 45.2
    }
    ```
    
    ## Decláralo como un parámetro
    
    Para añadirlo a tu *path operation*, decláralo de la misma manera que declaraste parámetros de path y query:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[16] *}
    
    ...y declara su tipo como el modelo que creaste, `Item`.
    
    ## Resultados
    
    Con solo esa declaración de tipo en Python, **FastAPI** hará lo siguiente:
    
    * Leer el body del request como JSON.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt

     * signatures.
     */
    fun Buffer.isProbablyUtf8(): Boolean {
      try {
        val prefix = Buffer()
        val byteCount = size.coerceAtMost(64)
        copyTo(prefix, 0, byteCount)
        for (i in 0 until 16) {
          if (prefix.exhausted()) {
            break
          }
          val codePoint = prefix.readUtf8CodePoint()
          if (Character.isISOControl(codePoint) && !Character.isWhitespace(codePoint)) {
            return false
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    }
    
    // getVersionID will return the versionID of the underlying version.
    func (j xlMetaV2Version) getVersionID() [16]byte {
    	switch j.Type {
    	case ObjectType:
    		return j.ObjectV2.VersionID
    	case DeleteType:
    		return j.DeleteMarker.VersionID
    	case LegacyType:
    		return [16]byte{}
    	}
    	return [16]byte{}
    }
    
    // ToFileInfo returns FileInfo of the underlying type.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            dst[dstIndex + 3] = this.queryFlags;
            dstIndex += 4;
            SMBUtil.writeInt4(this.fileIndex, dst, dstIndex);
            dstIndex += 4;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            final int fnOffsetOffset = dstIndex;
            final int fnLengthOffset = dstIndex + 2;
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.outputBufferLength, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

         */
        @Test
        void testReadWireFormatStubsReturnZero() {
            // Given
            Trans2FindNext2 next = new Trans2FindNext2(0x0101, 0, "name");
            byte[] buf = new byte[16];
    
            // When/Then
            assertEquals(0, next.readSetupWireFormat(buf, 0, buf.length));
            assertEquals(0, next.readParametersWireFormat(buf, 0, buf.length));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertFalse(PLAIN_TEXT_UTF_8.is(HTML_UTF_8));
        assertFalse(PLAIN_TEXT_UTF_8.withParameter("charset", "UTF-16").is(PLAIN_TEXT_UTF_8));
        assertFalse(PLAIN_TEXT_UTF_8.is(PLAIN_TEXT_UTF_8.withParameter("charset", "UTF-16")));
      }
    
      public void testParse_empty() {
        assertThrows(IllegalArgumentException.class, () -> MediaType.parse(""));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  9. src/archive/tar/strconv_test.go

    		{"1 k=1\n", "1 k=1\n", "", "", false},
    		{"6 k~1\n", "6 k~1\n", "", "", false},
    		{"6_k=1\n", "6_k=1\n", "", "", false},
    		{"6 k=1 ", "6 k=1 ", "", "", false},
    		{"632 k=1\n", "632 k=1\n", "", "", false},
    		{"16 longkeyname=hahaha\n", "16 longkeyname=hahaha\n", "", "", false},
    		{"3 somelongkey=\n", "3 somelongkey=\n", "", "", false},
    		{"50 tooshort=\n", "50 tooshort=\n", "", "", false},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                    final HMACT64 userKey = new HMACT64(ntlmv2Hash);
                    userKey.update(hmac.digest());
                    userKey.digest(dest, offset, 16);
                    break;
                default:
                    md4.update(md4.digest());
                    md4.digest(dest, offset, 16);
                    break;
                }
            } catch (final Exception e) {
                throw new SmbException("", e);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
Back to top