Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,089 for Function (0.1 sec)

  1. android/guava/src/com/google/common/collect/SortedLists.java

       *
       * <p>Equivalent to {@link #binarySearch(List, Object, Comparator, KeyPresentBehavior,
       * KeyAbsentBehavior)} using {@link Lists#transform(List, Function) Lists.transform(list,
       * keyFunction)}.
       */
      public static <E extends @Nullable Object, K extends @Nullable Object> int binarySearch(
          List<E> list,
          Function<? super E, K> keyFunction,
          @ParametricNullness K key,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. docs_src/websockets/tutorial002.py

            </ul>
            <script>
            var ws = null;
                function connect(event) {
                    var itemId = document.getElementById("itemId")
                    var token = document.getElementById("token")
                    ws = new WebSocket("ws://localhost:8000/items/" + itemId.value + "/ws?token=" + token.value);
                    ws.onmessage = function(event) {
                        var messages = document.getElementById('messages')
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 13 16:10:54 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. bin/retry.sh

    # This will run "my-flaky-script.sh", retrying any failed runs that output "connection timed out" up
    # to 5 times.
    
    function fail {
      echo "${1}" >&2
      exit 1
    }
    
    function isatty() {
     if [ -t 1 ] ; then
       return 0
      else
       return 1
      fi
    }
    
    function retry {
      local tmpFile
      tmpFile=$(mktemp)
      trap 'rm -f "${tmpFile}"' EXIT
    
      local failureRegex="$1"
      shift
      local n=1
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 11 16:08:08 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Functions;
    import com.google.common.collect.testing.MapInterfaceTest;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/score/ScoreBooster.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.score;
    
    import java.util.Arrays;
    import java.util.Map;
    import java.util.function.Function;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.es.client.SearchEngineClient;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

    import static com.google.common.collect.Maps.transformValues;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Functions;
    import java.util.Map;
    
    /**
     * Tests for {@link Maps#transformValues(Map, Function)}.
     *
     * @author Isaac Shum
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. internal/cachevalue/cache.go

    // Cache contains a synchronized value that is considered valid
    // for a specific amount of time.
    // An Update function must be set to provide an updated value when needed.
    type Cache[T any] struct {
    	// updateFn must return an updated value.
    	// If an error is returned the cached value is not set.
    	// Only one caller will call this function at any time, others will be blocking.
    	// The returned value can no longer be modified once returned.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.function.Function;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.misc.Tuple3;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_remote_function_test.cc

                                        /*remote_func_outputs=*/true);
    }
    TEST(CAPI, RemoteExecuteSilentCopiesLocalAsyncFuncOrdering) {
      // A remote input may be not ready when we start running a function. Test that
      // the function execution should wait until the remote input is ready.
      TestRemoteExecuteSilentCopiesFunc(/*async=*/true, /*remote=*/false,
                                        /*heavy_load_on_streaming_rpc=*/true);
    }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/lib/lib-grid.libsonnet

        local rowPanelsWithX =
          std.map(
            function(row)
              row + { panels: std.mapWithIndex(CalculateXforPanel, row.panels) },
            rowPanels
          );
    
        local uncollapsed = panelUtil.resolveCollapsedFlagOnRows(panelsBeforeRowsWithX + rowPanelsWithX);
    
        local normalized = panelUtil.normalizeY(uncollapsed);
    
        std.map(function(p) p + { gridPos+: { y+: startY } }, normalized),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top