Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 134 for Combiner (0.07 seconds)

  1. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

    }
    
    /**
     * Reduces a map of boolean flags to a single property by applying the given combiner function
     * to the corresponding values of the properties that are true.
     *
     * @param flags The map of boolean properties to their values.
     * @param combiner The function to combine the values of the true properties.
     *
     * @return A property that contains the reduced value.
     */
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/TopKSelector.java

       * Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector,
       * so its return value will get used naturally.
       */
      @SuppressWarnings("CanIgnoreReturnValueSuggester")
      TopKSelector<T> combine(TopKSelector<T> other) {
        for (int i = 0; i < other.bufferSize; i++) {
          this.offer(uncheckedCastNullableTToT(other.buffer[i]));
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  3. docs/fr/docs/alternatives.md

    /// check | A inspiré **FastAPI** à
    
    Être un micro-framework. Il est donc facile de combiner les outils et les pièces nécessaires.
    
    Proposer un système de routage simple et facile à utiliser.
    
    ///
    
    ### <a href="https://requests.readthedocs.io" class="external-link" target="_blank">Requests</a>
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/math/StatsTesting.java

              .doubleValue();
    
      /**
       * Returns a stream of a million primitive doubles. The stream is parallel, which should cause
       * {@code collect} calls to run in multithreaded mode, so testing the combiner as well as the
       * supplier and accumulator.
       */
      static DoubleStream megaPrimitiveDoubleStream() {
        return DoubleStream.iterate(0.0, x -> x + 1.0).limit(MEGA_STREAM_COUNT).parallel();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 23.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            }
    
            @Test
            @DisplayName("Should combine referral data")
            void testCombine() {
                DfsReferralDataInternal combined = mock(DfsReferralDataInternal.class);
    
                // Test with mock
                when(mockReferralData.combine(mockDfsReferralData)).thenReturn(combined);
                DfsReferralDataInternal result = mockReferralData.combine(mockDfsReferralData);
                assertSame(combined, result);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                second.setDomain("DOMAIN");
    
                // Combine
                DfsReferralDataInternal combined = first.combine(second);
    
                assertNotNull(combined);
                assertEquals("server2", combined.getServer());
                assertEquals("share2", combined.getShare());
                assertEquals("path2", combined.getPath());
                assertEquals("DOMAIN", combined.getDomain());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  7. docs/debugging/xl-meta/main.go

    		},
    		cli.BoolFlag{
    			Usage: "combine inline data",
    			Name:  "combine",
    		},
    		cli.BoolFlag{
    			Usage: "combine inline data across versions when size matches",
    			Name:  "xver",
    		},
    	}
    
    	app.Action = func(c *cli.Context) error {
    		ndjson := c.Bool("ndjson")
    		if c.Bool("data") && c.Bool("combine") {
    			return errors.New("cannot combine --data and --combine")
    		}
    		// file / version / file
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

          .newBuilder()
          .body(RealResponseBody(contentType, contentLength, cacheWritingSource.buffer()))
          .build()
      }
    
      companion object {
        /** Combines cached headers with a network headers as defined by RFC 7234, 4.3.4. */
        private fun combine(
          cachedHeaders: Headers,
          networkHeaders: Headers,
        ): Headers {
          val result = Headers.Builder()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/hash/BloomFilterStrategies.java

          long hash1 = lowerEight(bytes);
          long hash2 = upperEight(bytes);
    
          boolean bitsChanged = false;
          long combinedHash = hash1;
          for (int i = 0; i < numHashFunctions; i++) {
            // Make the combined hash positive and indexable
            bitsChanged |= bits.set((combinedHash & Long.MAX_VALUE) % bitSize);
            combinedHash += hash2;
          }
          return bitsChanged;
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jan 08 14:27:16 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                return propertyValue;
            }
    
            /**
             * Checks if the passed in line should be combined with the following.
             * This is true, if the line ends with an odd number of backslashes.
             *
             * @param line the line
             * @return a flag if the lines should be combined
             */
            private static boolean checkCombineLines(String line) {
                int bsCount = 0;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
Back to Top