Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 951 for buildUser (0.49 sec)

  1. src/os/user/cgo_lookup_unix.go

    	})
    	if err == syscall.ENOENT || (err == nil && !found) {
    		return nil, UnknownUserIdError(uid)
    	}
    	if err != nil {
    		return nil, fmt.Errorf("user: lookup userid %d: %v", uid, err)
    	}
    	return buildUser(&pwd), nil
    }
    
    func buildUser(pwd *_C_struct_passwd) *User {
    	u := &User{
    		Uid:      strconv.FormatUint(uint64(_C_pw_uid(pwd)), 10),
    		Gid:      strconv.FormatUint(uint64(_C_pw_gid(pwd)), 10),
    		Username: _C_GoString(_C_pw_name(pwd)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/strings/builder.go

    package strings
    
    import (
    	"internal/abi"
    	"internal/bytealg"
    	"unicode/utf8"
    	"unsafe"
    )
    
    // A Builder is used to efficiently build a string using [Builder.Write] methods.
    // It minimizes memory copying. The zero value is ready to use.
    // Do not copy a non-zero Builder.
    type Builder struct {
    	addr *Builder // of receiver, to detect copies by value
    
    	// External users should never get direct access to this buffer, since
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/deployment/builder.go

    type Builder interface {
    	// With adds a new Echo configuration to the Builder. Once built, the instance
    	// pointer will be updated to point at the new Instance.
    	With(i *echo.Instance, cfg echo.Config) Builder
    
    	// WithConfig mimics the behavior of With, but does not allow passing a reference
    	// and returns an echoboot builder rather than a generic echo builder.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/kube/builder.go

    John Howard <******@****.***> 1717711954 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

                    }
            }
        }
    
        return annotationContainer.resolvedAnnotationsWithClassIds(firSymbol)
            .mapIndexedToAnnotationApplication(builder.rootSession, classId) { index, annotation ->
                annotation.toKaAnnotation(builder, index) {
                    computeAnnotationArguments(firSymbol, annotationContainer, classId, index, builder)
                }
            }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtModuleUtils.kt

     * this util collects all `.kt` and `.java` files under source roots.
     */
    internal fun getSourceFilePaths(
        compilerConfig: CompilerConfiguration,
        includeDirectoryRoot: Boolean = false,
    ): Set<Path> {
        return buildSet {
            compilerConfig.javaSourceRoots.forEach { srcRoot ->
                val path = Paths.get(srcRoot)
                if (Files.isDirectory(path)) {
                    // E.g., project/app/src
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

        }
    }
    
    internal fun FirElement.buildSymbol(builder: KaSymbolByFirBuilder) =
        (this as? FirDeclaration)?.symbol?.let(builder::buildSymbol)
    
    internal fun FirDeclaration.buildSymbol(builder: KaSymbolByFirBuilder): KaSymbol =
        builder.buildSymbol(symbol)
    
    internal fun FirBasedSymbol<*>.buildSymbol(builder: KaSymbolByFirBuilder): KaSymbol =
        builder.buildSymbol(this)
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

                                        mlir::Builder builder) {
      return builder.getStringAttr(str);
    }
    
    static mlir::Attribute BuildF32Attr(float value, mlir::Builder builder) {
      return builder.getF32FloatAttr(value);
    }
    
    static mlir::Attribute BuildI32Attr(int32_t value, mlir::Builder builder) {
      return builder.getI32IntegerAttr(value);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  9. clause/where.go

    }
    
    type AndConditions struct {
    	Exprs []Expression
    }
    
    func (and AndConditions) Build(builder Builder) {
    	if len(and.Exprs) > 1 {
    		builder.WriteByte('(')
    		buildExprs(and.Exprs, builder, AndWithSpace)
    		builder.WriteByte(')')
    	} else {
    		buildExprs(and.Exprs, builder, AndWithSpace)
    	}
    }
    
    func Or(exprs ...Expression) Expression {
    	if len(exprs) == 0 {
    		return nil
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. tools/istio-iptables/pkg/builder/iptables_builder_test.go

    			func(builder *IptablesRuleBuilder) {
    				builder.AppendRuleV6(iptableslog.UndefinedCommand, "chain", "table", "-f", "foo", "-b", "bar")
    				builder.AppendRuleV6(iptableslog.UndefinedCommand, "chain", "table", "-f", "fu", "-b", "bar")
    				builder.AppendRuleV6(iptableslog.UndefinedCommand, "chain", "table", "-f", "foo", "-b", "baz")
    			},
    			true,
    		},
    		{
    			"insert-multi-v4",
    			true,
    			false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top