Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 236 for TLambda (0.25 sec)

  1. fastapi/encoders.py

    
    ENCODERS_BY_TYPE: Dict[Type[Any], Callable[[Any], Any]] = {
        bytes: lambda o: o.decode(),
        Color: str,
        datetime.date: isoformat,
        datetime.datetime: isoformat,
        datetime.time: isoformat,
        datetime.timedelta: lambda td: td.total_seconds(),
        Decimal: decimal_encoder,
        Enum: lambda o: o.value,
        frozenset: list,
        deque: list,
        GeneratorType: list,
        IPv4Address: str,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. internal/config/lambda/parse.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lambda
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"net/http"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/lambda/event"
    	"github.com/minio/minio/internal/config/lambda/target"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/env"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt

            val maybeConfigureTypeRef = when (semanticsFromSignature) { // there is not necessarily a lambda parameter of this type: it might be an adding function with no lambda
                is FunctionSemantics.ConfigureSemantics -> semanticsFromSignature.configuredType
                else -> null
            }
    
            val params = fnParams
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshotSerializer.java

                    hashCodeSerializer.write(encoder, implementationSnapshot.getClassLoaderHash());
                }
            },
            LAMBDA {
                @Override
                protected ImplementationSnapshot readAdditionalData(String classIdentifier, Decoder decoder) throws Exception {
                    HashCode classLoaderHash = hashCodeSerializer.read(decoder);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:33:49 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/util/internal/DeferredUtil.java

    public class DeferredUtil {
    
        /**
         * Successively unpacks a deferred value until it is resolved to null or something other than Callable (including Groovy Closure) or Kotlin lambda
         * then unpacks the remaining Provider or Factory.
         *
         * Fails when the Provider is not present.
         */
        @Nullable
        public static Object unpack(@Nullable Object deferred) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

                }
    
                tasks.register("lambda", LambdaTask) {
                    myActions = new ManyLambdas().createLotsOfLambdas()
    
                    doFirst {
                        println("generated method count = \${getDeserializeMethodsCount(ManyLambdas)}")
                    }
                }
            """)
    
            when:
            succeeds("lambda")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/resources/org/gradle/test/Java8Interface.java

        default String getName() {
            try (Writer writer = new StringWriter()) {
                Supplier<String> methodReference = this::toString;
                Supplier<String> lambda = () -> this.toString();
            } catch (IOException ignore) {
            }
            return "foo";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/fromLanguageTree/LanguageTreeToDom.kt

                val lambda = when (lambdas.size) {
                    0 -> null
                    1 -> lambdas.single()
                    else -> {
                        errors += UnsupportedSyntax(UnsupportedSyntaxCause.ElementMultipleLambdas)
                        null
                    }
                }
                val content = lambda?.block?.content.orEmpty().map { blockElementToNode(it) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/PredecessorsFunction.java

     * someGraphAlgorithm(startNode, MyNode::getParents);
     * }</pre>
     *
     * <p>If you have some other mechanism for returning the predecessors of a node, or one that doesn't
     * return a {@code Iterable<? extends N>}, then you can use a lambda to perform a more general
     * transformation:
     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, node -> ImmutableList.of(node.mother(), node.father()));
     * }</pre>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/shape_inference_test.cc

      TF_EXPECT_OK(ShapeAnnotationsMatch(*graph, shape_info, expected));
    }
    
    TEST(ShapeInferenceTest, WhileLoop) {
      // Graph:
      // x = array_ops.placeholder(dtypes.int32)
      // y = control_flow_ops.while_loop(lambda i: i < 10, lambda i: i + 1, [x])
      Graph graph(OpRegistry::Global());
      {
        Scope scope = Scope::NewRootScope().ExitOnError();
    
        auto dummy = ops::Placeholder(scope.WithOpName("Dummy"), DT_INT32,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top