Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 867 for VALID (0.13 seconds)

  1. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            RescorerBuilder<?> result = ltrQueryRescorer.evaluate(params);
            assertNull(result);
        }
    
        @Test
        public void test_evaluate_withValidModelName() {
            // Test with valid model name
            final String testModelName = "test_model";
            final int testWindowSize = 100;
    
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            // DISCUSS
            "EnumOrdinal", // This violation is ubiquitous, though most are benign.
            "EqualsGetClass", // Let's agree if we want to adopt Error Prone's idea of valid equals()
            "JdkObsolete", // Most of the checks are good, but we do not want to replace all LinkedLists without a good reason
    
            // NEVER
            "AssignmentExpression", // Not using it is more a matter of taste.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:47:14 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  3. internal/s3select/sql/value.go

    		return nil
    	}
    
    	if t, err := parseSQLTimestamp(asString); err == nil {
    		v.setTimestamp(t)
    		return nil
    	}
    	if !utf8.Valid(b) {
    		return errors.New("value is not valid utf-8")
    	}
    	// Fallback to string
    	v.setString(asString)
    	return err
    }
    
    // When numeric types are compared, type promotions could happen. If
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        // Test getExpiry with default value
        @Test
        public void test_getExpiry_default() {
            assertEquals(30L * 24 * 60 * 60 * 1000L, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with valid value
        @Test
        public void test_expiry_validValue() {
            long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days
            PurgeThumbnailJob result = purgeThumbnailJob.expiry(newExpiry);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  5. maven-tests/mvnw.cmd

      Write-Output "MVN_CMD=$MAVEN_HOME/bin/$MVN_CMD"
      exit $?
    }
    
    if (! $distributionUrlNameMain -or ($distributionUrlName -eq $distributionUrlNameMain)) {
      Write-Error "distributionUrl is not valid, must end with *-bin.zip, but found $distributionUrl"
    }
    
    # prepare tmp dir
    $TMP_DOWNLOAD_DIR_HOLDER = New-TemporaryFile
    $TMP_DOWNLOAD_DIR = New-Item -Itemtype Directory -Path "$TMP_DOWNLOAD_DIR_HOLDER.dir"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            final String invalidScript = "this is not valid {{{";
    
            // First call: syntax error returns null
            assertNull(engine.evaluate(invalidScript, params));
    
            // Second call: should also return null (not cached, recompiles and fails again)
            assertNull(engine.evaluate(invalidScript, params));
    
            // Valid script should still work after syntax errors
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Automatically accept changes that are valid property upgrades of a getter or setter.
         *
         * Here we automatically accept the following cases:
         * - A setter `setX` of an upgraded property is removed
         * - A boolean `isX` of an upgraded property is removed
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            dcerpcBinding.setOption("endpoint", endpoint);
    
            assertEquals(endpoint, dcerpcBinding.getEndpoint(), "Endpoint should be set correctly.");
            assertNotNull(dcerpcBinding.getUuid(), "UUID should be set for a valid pipe endpoint.");
            assertEquals("4B324FC8-1670-01D3-1278-5A47BF6EE188", dcerpcBinding.getUuid().toString(), "UUID should be parsed correctly.");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                    } catch (Exception e) {
                        log.error("Error flushing write cache for path: " + path, e);
                    }
                }
            }
    
            // Clean up weak reference if no longer valid
            if (ref == null || ref.get() == null) {
                fileCache.remove(path);
            }
        }
    
        /**
         * Invalidate read cache for a file path
         *
         * @param path file path
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java

                    return ".sql=text/x-sql\ninvalid_entry\n.pls=text/x-plsql";
                }
            });
    
            mimeTypeHelper.init();
    
            // Valid entries should still be loaded
            try (InputStream is = new ByteArrayInputStream(SQL_REM_CONTENT.getBytes(StandardCharsets.UTF_8))) {
                assertEquals("text/x-sql", mimeTypeHelper.getContentType(is, "test.sql"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 12.1K bytes
    - Click Count (0)
Back to Top