Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 1,199 for butter (0.11 sec)

  1. cmd/tier-last-day-stats_gen_test.go

    	v := DailyAllTierStats{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecodeDailyAllTierStats(b *testing.B) {
    	v := DailyAllTierStats{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt

        assertOnFileDescriptor(content = "Hello") { fd ->
          val requestBody = fd.toRequestBody()
    
          val buffer = Buffer()
          requestBody.writeTo(buffer)
          assertThat(buffer.readUtf8()).isEqualTo("Hello")
    
          assertThrows(IOException::class.java) {
            requestBody.writeTo(Buffer())
          }
        }
      }
    
      @Test
      fun testFileDescriptorAfterClose() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (1)
  3. src/test/java/jcifs/internal/util/SMBUtilTest.java

        @Test
        void testNegativeValueHandling() {
            byte[] buffer = new byte[8];
    
            // Test negative values in writeInt4
            SMBUtil.writeInt4(-1L, buffer, 0);
            assertEquals(-1, SMBUtil.readInt4(buffer, 0));
    
            // Test negative values in writeInt8
            SMBUtil.writeInt8(-1L, buffer, 0);
            assertEquals(-1L, SMBUtil.readInt8(buffer, 0));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            }
    
            @Test
            @DisplayName("Should reject null data buffer in sign method")
            void testSignNullDataBuffer() {
                assertThrows(IllegalArgumentException.class, () -> digest.sign(null, 0, 100, request, response),
                        "Should throw IllegalArgumentException for null data buffer");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/joblog/admin_joblog.jsp

                                                                <button type="button" class="close" data-dismiss="modal"
                                                                        aria-label="Close">
                                                                    <span aria-hidden="true">×</span>
                                                                </button>
                                                            </div>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 11.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                e.creationTime = readTime(buffer, bufferIndex + 8);
                //      e.lastAccessTime = readTime( buffer, bufferIndex + 16 );
                e.lastWriteTime = readTime(buffer, bufferIndex + 24);
                //      e.changeTime = readTime( buffer, bufferIndex + 32 );
                e.endOfFile = readInt8(buffer, bufferIndex + 40);
                //      e.allocationSize = readInt8( buffer, bufferIndex + 48 );
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       * Use this method to create a degenerate Okio Buffer where each byte is in a separate segment of
       * the internal list.
       */
      @JvmStatic
      fun fragmentBuffer(buffer: Buffer): Buffer {
        // Write each byte into a new buffer, then clone it so that the segments are shared.
        // Shared segments cannot be compacted so we'll get a long chain of short segments.
        val result = Buffer()
        while (!buffer.exhausted()) {
          val box = Buffer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

         */
        public MonitorTarget() {
            // Default constructor
        }
    
        /**
         * Appends a key-value pair to the buffer in JSON format.
         *
         * @param buf the string buffer to append to
         * @param key the key name
         * @param supplier the value supplier
         * @return the updated buffer
         */
        protected StringBuilder append(final StringBuilder buf, final String key, final Supplier<Object> supplier) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        void testReadSetupWireFormat() {
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1234, OWNER_SECURITY_INFORMATION);
            byte[] buffer = new byte[100];
    
            int result = querySecurityDesc.readSetupWireFormat(buffer, 10, 50);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat returns zero")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       */
      @Throws(IOException::class)
      fun peekBody(byteCount: Long): ResponseBody {
        val peeked = body.source().peek()
        val buffer = Buffer()
        peeked.request(byteCount)
        buffer.write(peeked, minOf(byteCount, peeked.buffer.size))
        return buffer.asResponseBody(body.contentType(), buffer.size)
      }
    
      @JvmName("-deprecated_body")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top