Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 712 for valid (0.02 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/dict/DictionaryItemTest.java

            item1.id = 300L;
            assertEquals(300L, item1.getId());
            assertEquals(200L, item2.getId());
        }
    
        public void test_constructor() {
            // Test that constructor creates a valid instance
            TestDictionaryItem newItem = new TestDictionaryItem();
            assertNotNull(newItem);
            assertEquals(0L, newItem.getId());
        }
    
        public void test_idFieldAccess() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/BufferCacheTest.java

            doNothing().when(mockBufferCache).releaseBuffer(buffer);
    
            // When & Then
            assertDoesNotThrow(() -> {
                mockBufferCache.releaseBuffer(buffer);
            }, "releaseBuffer should handle valid buffers");
        }
    
        @Test
        @DisplayName("getBuffer should return buffers for use")
        void testGetBufferBasicUsage() {
            // When
            byte[] buffer1 = testCache.getBuffer();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. 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)
Back to top