Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for k1024 (0.04 sec)

  1. lib/fips140/v1.1.0-rc1.zip

    *[32]byte) { dk.d = *d dk.z = *z g := sha3.New512() g.Write(d[:]) g.Write([]byte{k1024}) // Module dimension as a domain separator. G := g.Sum(make([]byte, 0, 64)) ρ, σ := G[:32], G[32:] dk.ρ = [32]byte(ρ) A := &dk.a for i := byte(0); i < k1024; i++ { for j := byte(0); j < k1024; j++ { A[i*k1024+j] = sampleNTT(ρ, j, i) } } var N byte s := &dk.s for i := range s { s[i] = ntt(samplePolyCBD(σ, N)) N++ } e := make([]nttElement, k1024) for i := range e { e[i] = ntt(samplePolyCBD(σ, N)) N++ } t := &dk.t for i...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (value < 1024) {
                format = "0";
            } else if (value < 1024L * 1024L) {
                target /= 1024;
                unit = "K";
            } else if (value < 1024L * 1024L * 1024L) {
                target /= 1024;
                target /= 1024;
                unit = "M";
            } else if (value < 1024L * 1024L * 1024L * 1024L) {
                target /= 1024;
                target /= 1024;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

            byte[] data = new byte[1024];
            for (int i = 0; i < data.length; i++) {
                data[i] = (byte) (i % 256);
            }
            try (FileOutputStream fos = new FileOutputStream(tempFile)) {
                fos.write(data);
            }
    
            try (TemporaryFileInputStream stream = new TemporaryFileInputStream(tempFile)) {
                assertEquals(1024, stream.available());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                byte[] buffer1 = new byte[1024];
                int bytesRead1 = stream1.read(buffer1);
                assertEquals(testContent, new String(buffer1, 0, bytesRead1, "UTF-8"));
            }
    
            // Second read - should work independently
            try (InputStream stream2 = cache.getInputStream()) {
                byte[] buffer2 = new byte[1024];
                int bytesRead2 = stream2.read(buffer2);
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt

      }
    
      @Test fun doesNotConsumeBuffer() {
        val buffer = Buffer()
        buffer.writeUtf8("hello ".repeat(1024))
        assertThat(buffer.isProbablyUtf8(100L)).isTrue()
        assertThat(buffer.readUtf8()).isEqualTo("hello ".repeat(1024))
      }
    
      /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */
      @Test fun doesNotReadEntireSource() {
        val unlimitedSource =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 22:47:06 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertThrows(FileNotFoundException.class, () -> Files.map(file));
      }
    
      public void testMap_readWrite() throws IOException {
        // Test data
        int size = 1024;
        byte[] expectedBytes = new byte[size];
        byte[] bytes = newPreFilledByteArray(1024);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        Random random = new Random();
        random.nextBytes(expectedBytes);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/arm64.s

    	LDP	11(R0), (R1, R2)    // 1b2c0091610b40a9
    	LDP	1024(R0), (R1, R2)  // 1b001091610b40a9
    	LDP.W	8(R0), (R1, R2)     // 0188c0a9
    	LDP.P	8(R0), (R1, R2)     // 0188c0a8
    	LDP	(RSP), (R1, R2)     // e10b40a9
    	LDP	8(RSP), (R1, R2)    // e18b40a9
    	LDP	-8(RSP), (R1, R2)   // e18b7fa9
    	LDP	11(RSP), (R1, R2)   // fb2f0091610b40a9
    	LDP	1024(RSP), (R1, R2) // fb031091610b40a9
    	LDP.W	8(RSP), (R1, R2)    // e18bc0a9
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Nov 10 17:34:13 UTC 2025
    - 96.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesTest.java

        assertThrows(FileNotFoundException.class, () -> Files.map(file));
      }
    
      public void testMap_readWrite() throws IOException {
        // Test data
        int size = 1024;
        byte[] expectedBytes = new byte[size];
        byte[] bytes = newPreFilledByteArray(1024);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        Random random = new Random();
        random.nextBytes(expectedBytes);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/FileUtilTest.java

                out.write(content.getBytes("UTF-8"));
            } finally {
                out.close();
            }
    
            // Set maxSize larger than file size
            final byte[] bytes = FileUtil.readBytes(file, 1024);
            assertThat(new String(bytes, "UTF-8"), is(content));
        }
    
        /**
         * Test readBytes with custom maxSize - file exceeds limit
         *
         * @throws Exception
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

            .build(),
        )
        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        cancelLater(call, 500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
          while (responseBody.read(buffer) != -1) {
          }
        }.also { expected ->
          assertEquals(cancelMode == INTERRUPT, Thread.interrupted())
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top