Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1821 - 1830 of 2,029 for sizeOf (0.04 sec)

  1. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            public void setContentLengthLong(long len) {
            }
    
            @Override
            public void setContentType(String type) {
            }
    
            @Override
            public void setBufferSize(int size) {
            }
    
            @Override
            public int getBufferSize() {
                return 0;
            }
    
            @Override
            public void flushBuffer() {
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

       */
      internal fun nextConnectionSpec(
        connectionSpecs: List<ConnectionSpec>,
        sslSocket: SSLSocket,
      ): ConnectPlan? {
        for (i in connectionSpecIndex + 1 until connectionSpecs.size) {
          if (connectionSpecs[i].isCompatible(sslSocket)) {
            return copy(connectionSpecIndex = i, isTlsFallback = (connectionSpecIndex != -1))
          }
        }
        return null
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            void testDoReceiveFragment_Success() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
    
                byte[] buf = new byte[4280]; // Use maxRecv size
    
                // Mock initial receive with valid PDU header
                when(mockSmbPipeHandleInternal.recv(buf, 0, buf.length)).thenAnswer(invocation -> {
                    byte[] buffer = invocation.getArgument(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. docs/smb3-features/02-persistent-handles-design.md

            dataOffset = (dataOffset + 7) & ~7;  // 8-byte alignment
            
            for (int i = 0; i < 16; i++) {
                buffer[dataOffset + i] = 0;
            }
        }
        
        @Override
        public int size() {
            int nameLen = getName().length();
            return 16 + nameLen + ((8 - (nameLen % 8)) % 8) + STRUCTURE_SIZE;
        }
    }
    ```
    
    ### 4.3 Durable Handle V2 Request Context
    ```java
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  5. cmd/object_api_suite_test.go

    		}
    
    		objInfo, err := obj.GetObjectInfo(context.Background(), "bucket", key, opts)
    		if err != nil {
    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    		}
    		if objInfo.Size != int64(len(value)) {
    			t.Errorf("%s: Size mismatch of the GetObject data.", instanceType)
    		}
    	}
    }
    
    // Wrapper for calling TestPaging for both Erasure and FS.
    func TestPaging(t *testing.T) {
    	ExecObjectLayerTest(t, testPaging)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

        }
    
        private byte[] createMockFileStandardInfoBuffer() {
            // Create a buffer that represents FileStandardInfo data
            byte[] buffer = new byte[24];
    
            // Mock allocation size (8 bytes)
            for (int i = 0; i < 8; i++) {
                buffer[i] = (byte) i;
            }
    
            // Mock end of file (8 bytes)
            for (int i = 8; i < 16; i++) {
                buffer[i] = (byte) (i * 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/NegTokenInitTest.java

                assertTrue(top.getBaseObject() instanceof ASN1Sequence, "Base object should be a sequence");
                ASN1Sequence seq = (ASN1Sequence) top.getBaseObject();
                assertEquals(2, seq.size(), "Sequence should contain OID and [0] NegTokenInit");
                assertTrue(seq.getObjectAt(0) instanceof ASN1ObjectIdentifier, "First element should be OID");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/storage/admin_storage.jsp

                                                                ${f:h(data.name)}
                                                        </td>
                                                        <td>${f:h(data.size)}</td>
                                                        <td>${fe:formatDate(data.lastModified, 'yyyy-MM-dd HH:mm:ss')}</td>
                                                    </c:if>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu May 26 01:48:41 UTC 2022
    - 20.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals((byte) 'S', SMBUtil.SMB2_HEADER[1]);
            assertEquals((byte) 'M', SMBUtil.SMB2_HEADER[2]);
            assertEquals((byte) 'B', SMBUtil.SMB2_HEADER[3]);
    
            // Verify structure size (64 in little-endian)
            assertEquals((byte) 64, SMBUtil.SMB2_HEADER[4]);
            assertEquals((byte) 0x00, SMBUtil.SMB2_HEADER[5]);
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacLogonInfoTest.java

        }
    
        private void writeLittleEndianLong(DataOutputStream dos, long value) throws IOException {
            dos.writeLong(Long.reverseBytes(value));
        }
    
        @Test
        @DisplayName("Test parsing with invalid data size")
        void testInvalidDataSize() {
            byte[] tooSmall = new byte[10];
    
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacLogonInfo(tooSmall));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top