Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1151 - 1160 of 6,205 for newA (0.02 seconds)

  1. cmd/bitrot.go

    	HighwayHash256S: "highwayhash256S",
    }
    
    // New returns a new hash.Hash calculating the given bitrot algorithm.
    func (a BitrotAlgorithm) New() hash.Hash {
    	switch a {
    	case SHA256:
    		return sha256.New()
    	case BLAKE2b512:
    		b2, _ := blake2b.New512(nil) // New512 never returns an error if the key is nil
    		return b2
    	case HighwayHash256:
    		hh, _ := highwayhash.New(magicHighwayHash256Key) // New will never return error since key is 256 bit
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/SplitPackagesAuditTask.java

                    throw new GradleException("Verification failed: Split packages found! See errors above for details.\n" +
                        "DO NOT ADD THESE SPLIT PACKAGES TO THE IGNORE LIST! Choose a new package name for the classes added.");
                }
    
                try {
                    Files.write(parameters.getMarkerFile().getAsFile().get().toPath(), new byte[] {}, StandardOpenOption.CREATE);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 22:04:23 GMT 2021
    - 14.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            String query = null;
            final StringBuilder buf = new StringBuilder(1000);
            request.setAttribute(Constants.SEARCH_LOG_ACCESS_TYPE, Constants.SEARCH_LOG_ACCESS_TYPE_JSON);
            try {
                final SearchRenderData data = new SearchRenderData();
                final JsonRequestParams params = new JsonRequestParams(request, fessConfig);
                query = params.getQuery();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  4. src/test/java/org/codelibs/core/crypto/CachedCipherTest.java

        }
    
        @Test
        public void testBackwardCompatibilityEncryptDecrypt() {
            final CachedCipher cipher = new CachedCipher();
            cipher.setKey("mySecretKey");
    
            final String original = "Hello World";
    
            // Encrypt with new method, decrypt with old method
            @SuppressWarnings("deprecation")
            final String encrypted1 = cipher.encryptText(original);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

            StringWriter writer = new StringWriter(1024 * 4);
    
            try {
                settingsWriter.write(writer, null, settings);
            } catch (IOException e) {
                throw new IllegalStateException("Failed to serialize settings to memory", e);
            }
    
            String serializedSettings = writer.toString();
    
            RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       *
       * {@snippet :
       * static final ImmutableClassToInstanceMap<Handler> HANDLERS =
       *     new ImmutableClassToInstanceMap.Builder<Handler>()
       *         .put(FooHandler.class, new FooHandler())
       *         .put(BarHandler.class, new SubBarHandler())
       *         .put(Handler.class, new QuuxHandler())
       *         .build();
       * }
       *
       * <p>After invoking {@link #build()} it is still possible to add more entries and build again.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

         */
        protected byte[] gzipDecompress(final byte[] compressed) {
            try (final ByteArrayInputStream bis = new ByteArrayInputStream(compressed);
                    final GZIPInputStream gzipIn = new GZIPInputStream(bis);
                    final ByteArrayOutputStream bos = new ByteArrayOutputStream()) {
                final byte[] buffer = new byte[1024];
                int len;
                while ((len = gzipIn.read(buffer)) > 0) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

            CrawlingConfigHelper crawlingConfigHelper = new CrawlingConfigHelper() {
                @Override
                public List<WebConfig> getWebConfigListByIds(List<String> webConfigIdList) {
                    List<WebConfig> configs = new ArrayList<>();
                    WebConfig config = new WebConfig();
                    // Set required properties to prevent skip
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

            }
        }
    
        /**
         * Gets the new input words.
         * Returns a defensive copy to prevent external modification.
         *
         * @return The new input words (defensive copy).
         */
        public String[] getNewInputs() {
            return newInputs == null ? null : newInputs.clone();
        }
    
        /**
         * Sets the new input words.
         *
         * @param newInputs The new input words.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java

                ListTestSuiteBuilder.using(new BytesAsListGenerator()).named("Bytes.asList"),
                ListTestSuiteBuilder.using(new BytesAsListHeadSubListGenerator())
                    .named("Bytes.asList, head subList"),
                ListTestSuiteBuilder.using(new BytesAsListTailSubListGenerator())
                    .named("Bytes.asList, tail subList"),
                ListTestSuiteBuilder.using(new BytesAsListMiddleSubListGenerator())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top