Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1321 - 1330 of 1,996 for Size (0.01 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

        }
    
        /**
         * @return the lastWriteTime
         */
        @Override
        public final long getLastWriteTime() {
            return this.lastWriteTime;
        }
    
        /**
         * Gets the allocation size.
         *
         * @return the allocationSize
         */
        public final long getAllocationSize() {
            return this.allocationSize;
        }
    
        /**
         * Gets the end of file position.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

        void testWriteSetupWireFormatMinimumBuffer() {
            // Arrange
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName);
            byte[] dst = new byte[4]; // Minimum required size
    
            // Act
            int bytesWritten = transWaitNamedPipe.writeSetupWireFormat(dst, 0);
    
            // Assert
            assertEquals(4, bytesWritten);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            assertEquals("true", returned.get("storeKey"));
            assertEquals("******@****.***", returned.get("principal"));
            // Ensure no unexpected extra options
            assertEquals(3, returned.size(), "Only provided options are expected");
        }
    
        @Test
        @DisplayName("Null options cause IllegalArgumentException when retrieving entries (JAAS requires non-null options)")
        void nullOptions_throwOnAccess() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

            if (artifacts == null) {
                return "";
            }
            StringBuilder sb = new StringBuilder(256);
            int i = 1;
            sb.append("---------\n");
            sb.append(artifacts.size()).append('\n');
            for (Artifact a : artifacts) {
                sb.append(i).append(' ').append(a).append('\n');
                i++;
            }
            sb.append("---------\n");
            return sb.toString();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/CryptoTest.java

        void testDES() throws Exception {
            // Given
            byte[] key = "testkey1".getBytes(); // 8 bytes for DES
            byte[] plaintext = "12345678".getBytes(); // 8 bytes (DES block size)
    
            // When
            Cipher desCipher = Crypto.getDES(key);
            desCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "DES"));
            byte[] encrypted = desCipher.doFinal(plaintext);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            }
    
            return resolved;
        }
    
        private Set<String> getIgnorableArtifacts(Collection<? extends MavenProject> projects) {
            Set<String> projectIds = new HashSet<>(projects.size() * 2);
    
            for (MavenProject p : projects) {
                String key = ArtifactUtils.key(p.getGroupId(), p.getArtifactId(), p.getVersion());
                projectIds.add(key);
            }
            return projectIds;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.4K bytes
    - Viewed (1)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

            frameCallback.onReadPong(controlFrameBuffer.readByteString())
          }
          OPCODE_CONTROL_CLOSE -> {
            var code = CLOSE_NO_STATUS_CODE
            var reason = ""
            val bufferSize = controlFrameBuffer.size
            if (bufferSize == 1L) {
              throw ProtocolException("Malformed close payload length of 1.")
            } else if (bufferSize != 0L) {
              code = controlFrameBuffer.readShort().toInt()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                            }
                          };
                        }
                      };
                    }
    
                    @Override
                    public int size() {
                      return map.size();
                    }
    
                    @Override
                    public boolean remove(Object o) {
                      return map.entrySet().remove(o);
                    }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/FileEntryTest.java

            int attributes = mockEntry.getAttributes();
            long createTime = mockEntry.createTime();
            long lastModified = mockEntry.lastModified();
            long lastAccess = mockEntry.lastAccess();
            long size = mockEntry.length();
    
            // Assert: values and interactions
            assertEquals("file.txt", name, "getName should return stubbed value");
            assertEquals(1, type1);
            assertEquals(1, type2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

        }
    
        public void test_getUsedMemory() {
            assertTrue(MemoryUtil.getUsedMemory() >= 0);
        }
    
        public void test_sizeOf() throws Exception {
            // System.out.println("size: " + getObjectSize(""));
            assertEquals(24L, MemoryUtil.sizeOf(Integer.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Long.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Short.MAX_VALUE));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top