Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,113 for utils (0.13 sec)

  1. scripts/docs.py

    from multiprocessing import Pool
    from pathlib import Path
    from typing import Any, Dict, List, Optional, Union
    
    import mkdocs.commands.build
    import mkdocs.commands.serve
    import mkdocs.config
    import mkdocs.utils
    import typer
    import yaml
    from jinja2 import Template
    
    logging.basicConfig(level=logging.INFO)
    
    app = typer.Typer()
    
    mkdocs_name = "mkdocs.yml"
    
    missing_translation_snippet = """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  2. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

    import javax.inject.Inject;
    
    import java.io.File;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Optional;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.*;
    import org.apache.maven.api.services.DependencyResolver;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

    import org.jetbrains.kotlin.resolve.scopes.LexicalScope
    import org.jetbrains.kotlin.resolve.scopes.MemberScope
    import org.jetbrains.kotlin.resolve.scopes.utils.getImplicitReceiversHierarchy
    import org.jetbrains.kotlin.util.containingNonLocalDeclaration
    import org.jetbrains.kotlin.utils.Printer
    
    internal class KtFe10ScopeProvider(
        override val analysisSession: KtFe10AnalysisSession
    ) : KtScopeProvider(), Fe10KtAnalysisSessionComponent {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

    import org.jetbrains.kotlin.psi.psiUtil.unwrapNullability
    import org.jetbrains.kotlin.resolve.calls.util.getCalleeExpressionIfAny
    import org.jetbrains.kotlin.util.OperatorNameConventions
    import org.jetbrains.kotlin.utils.exceptions.errorWithAttachment
    import org.jetbrains.kotlin.utils.exceptions.withPsiEntry
    
    internal class KtFirImportOptimizer(
        private val analysisSession: KtFirAnalysisSession,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  5. callbacks/create.go

    package callbacks
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    // BeforeCreate before create hooks
    func BeforeCreate(db *gorm.DB) {
    	if db.Error == nil && db.Statement.Schema != nil && !db.Statement.SkipHooks && (db.Statement.Schema.BeforeSave || db.Statement.Schema.BeforeCreate) {
    		callMethod(db, func(value interface{}, tx *gorm.DB) (called bool) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. tensorflow/c/eager/BUILD

            "//tensorflow/core:framework",
            "//tensorflow/core/platform:casts",
            "//tensorflow/core/platform:types",
        ],
    )
    
    cc_library(
        name = "tracing_utils",
        srcs = ["tracing_utils.cc"],
        hdrs = [
            "tracing_utils.h",
        ],
        visibility = [
            "//tensorflow:internal",
        ],
        deps = [
            ":abstract_operation",
            ":c_api_unified_internal",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  7. association.go

    package gorm
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    // Association Mode contains some helper methods to handle relationship things easily.
    type Association struct {
    	DB           *DB
    	Relationship *schema.Relationship
    	Unscope      bool
    	Error        error
    }
    
    func (db *DB) Association(column string) *Association {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu May 04 11:30:45 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

    import org.jetbrains.kotlin.resolve.DescriptorUtils
    import org.jetbrains.kotlin.resolve.calls.inference.CapturedType
    import org.jetbrains.kotlin.resolve.calls.util.getResolvedCall
    import org.jetbrains.kotlin.resolve.scopes.utils.getImplicitReceiversHierarchy
    import org.jetbrains.kotlin.types.*
    import org.jetbrains.kotlin.types.checker.NewCapturedType
    import org.jetbrains.kotlin.types.checker.NewTypeVariableConstructor
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  9. tests/table_test.go

    package tests_test
    
    import (
    	"regexp"
    	"sync"
    	"testing"
    
    	"gorm.io/driver/postgres"
    	"gorm.io/gorm"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    	. "gorm.io/gorm/utils/tests"
    )
    
    type UserWithTable struct {
    	gorm.Model
    	Name string
    }
    
    func (UserWithTable) TableName() string {
    	return "gorm.user"
    }
    
    func TestTable(t *testing.T) {
    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. chainable_api.go

    package gorm
    
    import (
    	"fmt"
    	"regexp"
    	"strings"
    
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/utils"
    )
    
    // Model specify the model you would like to run db operations
    //
    //	// update all users's name to `hello`
    //	db.Model(&User{}).Update("name", "hello")
    //	// if user's primary key is non-blank, will use it as condition, then will only update that user's name to `hello`
    //	db.Model(&user).Update("name", "hello")
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
Back to top