Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 615 for verifyCn (0.04 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        /**
         * Returns true if (current * radix) + digit is a number too large to be represented by an
         * unsigned long. This is useful for detecting overflow while parsing a string representation of
         * a number. Does not verify whether supplied radix is valid, passing an invalid radix will give
         * undefined results or an ArrayIndexOutOfBoundsException.
         */
        static boolean overflowInParse(long current, int digit, int radix) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Copy target mode ASCII flag */
        int FLAGS_COPY_TARGET_MODE_ASCII = 0x0004;
        /** Copy source mode ASCII flag */
        int FLAGS_COPY_SOURCE_MODE_ASCII = 0x0008;
        /** Verify all writes flag */
        int FLAGS_VERIFY_ALL_WRITES = 0x0010;
        /** Tree copy flag */
        int FLAGS_TREE_COPY = 0x0020;
    
        // open function
        /** Open function fail if exists */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            // When
            next.reset(0x11121314, "last.dat");
    
            // Then
            assertEquals(0, next.flags2, "flags2 should be reset to 0");
    
            // Verify parameters use updated resumeKey and filename
            String updatedName = "last.dat";
            byte[] dst = new byte[2 + 2 + 2 + 4 + 2 + updatedName.length() + 1];
            int n = next.writeParametersWireFormat(dst, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/Kerb5Context.java

            try {
                this.gssContext.verifyMIC(mic, 0, mic.length, data, 0, data.length, new MessageProp(false));
            } catch (GSSException e) {
                throw new CIFSException("Failed to verify MIC", e);
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isMICAvailable()
         */
        @Override
        public boolean isMICAvailable() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  5. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            byte[] encrypted = storage.encryptCredentials(plaintext);
            assertNotNull(encrypted, "Encrypted data should not be null");
            assertTrue(encrypted.length > 0, "Encrypted data should have content");
    
            // Verify plaintext is not in encrypted data
            String encryptedStr = new String(encrypted);
            assertFalse(encryptedStr.contains("SecretPassword123"), "Plaintext should not be visible in encrypted data");
    
            // Decrypt
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/util/MimeMapTest.java

            @Test
            @DisplayName("Should load mime.map resource properly")
            void testResourceLoading() throws IOException {
                MimeMap map = new MimeMap();
                assertNotNull(map);
                // Verify it works by testing a known mapping
                assertEquals("application/pdf", map.getMimeType("pdf"));
            }
        }
    
        @Nested
        @DisplayName("Performance and concurrency")
        class PerformanceTests {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ResourceManagerTest.java

        @Test
        @DisplayName("Test configuration updates")
        void testConfigurationUpdates() {
            resourceManager.configure(5000, 1000, false, false);
    
            // Configuration should be applied (we can't directly verify private fields,
            // but we can ensure it doesn't throw)
            assertDoesNotThrow(() -> resourceManager.checkForLeaks());
            assertDoesNotThrow(() -> resourceManager.performCleanup());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
    
            assertTrue(bytesRead > 0);
            assertNotNull(response.getInfo());
    
            // Verify the correct type was created
            if (infoLevel == FileInformation.FILE_BASIC_INFO) {
                assertTrue(response.getInfo() instanceof FileBasicInfo);
            } else if (infoLevel == FileInformation.FILE_STANDARD_INFO) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * AbstractListTester isn't enough because many tests that run on lists don't
       * extends AbstractListTester.) We could also iterate over all elements to
       * verify absence
       */
      protected void expectMissing(E... elements) {
        for (E element : elements) {
          assertFalse("Should not contain " + element, actualContents().contains(element));
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         */
        I sourceResult;
        try {
          sourceResult = getDone(localInputFuture);
        } catch (CancellationException e) {
          // TODO(user): verify future behavior - unify logic with getFutureValue in AbstractFuture. This
          // code should be unreachable with correctly implemented Futures.
          // Cancel this future and return.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top