Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 1,396 for putA (0.02 seconds)

  1. internal/handlers/forwarder.go

    	}
    
    	return f
    }
    
    type bufPool struct {
    	sz   int
    	pool bpool.Pool[*[]byte]
    }
    
    func (b *bufPool) Put(buf []byte) {
    	if cap(buf) < b.sz || cap(buf) > b.sz*2 {
    		// Buffer too small or will likely leak memory after being expanded.
    		// Drop it.
    		return
    	}
    	b.pool.Put(&buf)
    }
    
    func (b *bufPool) Get() []byte {
    	bufp := b.pool.Get()
    	if bufp == nil || cap(*bufp) < b.sz {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          assertCollectionIsUnmodifiable(multimap.get(key), sampleValue);
          assertMultimapRemainsUnmodified(multimap, originalEntries);
        }
    
        // Test #put()
        try {
          multimap.put(sampleKey, sampleValue);
          fail("put succeeded on unmodifiable multimap");
        } catch (UnsupportedOperationException expected) {
        }
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

                    Map<PhaseId, List<MojoExecution>> phaseBindings = new TreeMap<>(
                            Comparator.comparing(PhaseId::toString, new PhaseComparator(lifecycle.getPhases())));
                    mappings.put(phase, phaseBindings);
                }
            }
    
            /*
             * Grab plugin executions that are bound to the selected lifecycle phases from project. The effective model of
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                putResultDataWithTemplate(dataMap, key, value, scriptConfigMap.get(key), scriptType);
            });
    
            return processFieldConfigs(dataMap, fieldConfigs);
        }
    
        /**
         * Puts content data into the result data map.
         *
         * @param dataMap the data map to populate
         * @param responseData the response data from crawling
         * @param fessConfig the Fess configuration
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Dec 12 13:58:40 GMT 2025
    - 54.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            // Create directory cache entry
            DirectoryCacheEntry cacheEntry = new DirectoryCacheEntry(directoryPath, leaseKey, scope);
            directoryCache.put(directoryPath, cacheEntry);
            leaseToPath.put(leaseKey, directoryPath);
    
            // Start change notification if enabled
            Configuration config = context.getConfig();
            if (isDirectoryNotificationsEnabled(config)) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/http/HandlerTest.java

                protected URLConnection openConnection(URL u) throws IOException {
                    return mock(HttpURLConnection.class);
                }
            };
    
            handlers.put("http", httpHandler);
            handlers.put("https", httpsHandler);
        }
    
        @Test
        void testGetDefaultPort() {
            // This test verifies that the handler returns the correct default HTTP port.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                    }
                    buffer.setLength(0);
                } else if ("list".equals(qName)) {
                    if (fieldName != null && !dataMap.containsKey(fieldName)) {
                        dataMap.put(fieldName, new ArrayList<>());
                    }
                } else if ("item".equals(qName)) {
                    buffer.setLength(0);
                }
            }
    
            @Override
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilderTest.java

        @BeforeClass
        public static void beforeClass() throws Exception {
            runner = new OpenSearchRunner();
            runner.onBuild((number, settingsBuilder) -> {
                settingsBuilder.put("http.cors.enabled", true);
                settingsBuilder.put("discovery.type", "single-node");
            })
                    .build(newConfigs().clusterName("SuggestRequestBuilderTest")
                            .numOfNode(1)
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/FacetResponse.java

                        final Filter queryFacet = (Filter) aggregation;
                        final String encodedQuery = queryFacet.getName().substring(Constants.FACET_QUERY_PREFIX.length());
                        queryCountMap.put(new String(BaseEncoding.base64().decode(encodedQuery), StandardCharsets.UTF_8),
                                queryFacet.getDocCount());
                    }
    
                });
            }
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Nov 23 11:39:05 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

            Map<String, String> user = new HashMap<>(invokerRequest.userProperties());
            user.put("session.topDirectory", invokerRequest.topDirectory().toString());
            if (invokerRequest.rootDirectory().isPresent()) {
                user.put(
                        "session.rootDirectory",
                        invokerRequest.rootDirectory().get().toString());
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top