Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 712 for valid (0.07 sec)

  1. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

            assertEquals(len, result, "readDataWireFormat should return the length when pipeIn is null.");
        }
    
        /**
         * Tests the readDataWireFormat method when the pipe has a valid input stream.
         */
        @Test
        void testReadDataWireFormat_withPipeIn() {
            // Setup the mock pipe and its input stream
            mockPipe.pipeIn = mockPipeIn;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. schema/serializer.go

    // Scan implements serializer interface
    func (UnixSecondSerializer) Scan(ctx context.Context, field *Field, dst reflect.Value, dbValue interface{}) (err error) {
    	t := sql.NullTime{}
    	if err = t.Scan(dbValue); err == nil && t.Valid {
    		err = field.Set(ctx, dst, t.Time.Unix())
    	}
    
    	return
    }
    
    // Value implements serializer interface
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 20 08:45:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            if (!isValid()) {
                throw new SmbException("Descriptor is no longer valid");
            }
            return this.fid;
        }
    
        public byte[] getFileId() throws SmbException {
            if (!isValid()) {
                throw new SmbException("Descriptor is no longer valid");
            }
            return this.fileId;
        }
    
        /**
         * @return the initialSize
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  4. okhttp/src/jvmTest/resources/web-platform-test-toascii.json

      },
      {
        "input": "xn--ls8h=",
        "output": null
      },
      {
        "comment": "Invalid Punycode (contains non-ASCII character)",
        "input": "xn--tešla",
        "output": null
      },
      {
        "comment": "Valid Punycode",
        "input": "xn--zca.xn--zca",
        "output": "xn--zca.xn--zca"
      },
      {
        "comment": "Mixed",
        "input": "xn--zca.ß",
        "output": "xn--zca.xn--zca"
      },
      {
        "input": "ab--c.xn--zca",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

                assertEquals(e.getValue(), f.get(null), e.getKey() + " value mismatch");
            }
        }
    
        @Test
        @DisplayName("OID values have valid dotted numeric format")
        void oidFormat() {
            assertAll(() -> assertTrue(OID_PATTERN.matcher(SpnegoConstants.SPNEGO_MECHANISM).matches(), "Invalid OID: SPNEGO_MECHANISM"),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

       * Attack the CA intermediates check by presenting unrelated chains to the handshake vs.
       * certificate pinner.
       *
       * This chain is valid but not pinned:
       *
       * ```
       *   attackerCa
       *    -> phonyVictim
       * ```
       *
       *
       * This chain is pinned but not valid:
       *
       * ```
       *   attackerCa
       *     -> pinnedRoot (trusted by CertificatePinner)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
  7. docs/debugging/xl-meta/main.go

    									}
    									// Update to new config and add current
    									valid := 0
    									for shardIdx, shard := range splitFilled[:k] {
    										shardConfig[shardIdx] = shard[offset]
    										valid += int(shard[offset])
    										if shard[offset] == 0 {
    											shards[shardIdx] = shards[shardIdx][:0]
    										} else {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

        }
    
        // Test getQueryClassName method
        public void test_getQueryClassName() {
            assertEquals("BooleanQuery", booleanQueryCommand.getQueryClassName());
        }
    
        // Test execute method with valid BooleanQuery
        public void test_execute_withBooleanQuery() {
            // Create a simple BooleanQuery with MUST clause
            BooleanQuery.Builder boolQueryBuilder = new BooleanQuery.Builder();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        @Mock
        private SMBSigningDigest digest;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test decode method with valid buffer")
        void testDecodeWithValidBuffer() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
            int bufferIndex = 0;
            int expectedLength = 100;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            assertFalse(encryptedStr.contains("TestPassword456"), "Plaintext should not be visible in encrypted string");
    
            // Should be valid base64
            assertTrue(encryptedStr.matches("^[A-Za-z0-9+/]*={0,2}$"), "Should be valid Base64 format");
    
            // Decrypt from string
            char[] decrypted = storage.decryptFromString(encryptedStr);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top