Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 2,729 for ninit (2.74 sec)

  1. src/cmd/compile/internal/walk/temp.go

    )
    
    // initStackTemp appends statements to init to initialize the given
    // temporary variable to val, and then returns the expression &tmp.
    func initStackTemp(init *ir.Nodes, tmp *ir.Name, val ir.Node) *ir.AddrExpr {
    	if val != nil && !types.Identical(tmp.Type(), val.Type()) {
    		base.Fatalf("bad initial value for %L: %L", tmp, val)
    	}
    	appendWalkStmt(init, ir.NewAssignStmt(base.Pos, tmp, val))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

            urlFilter.addInclude(".*test.*");
    
            assertEquals(1, urlFilter.cachedIncludeSet.size());
            assertEquals(0, urlFilter.cachedExcludeSet.size());
    
            final String sessionId = "id1";
            urlFilter.init(sessionId);
            assertEquals(0, urlFilter.cachedIncludeSet.size());
            assertEquals(0, urlFilter.cachedExcludeSet.size());
            assertEquals(1, dataHelper.getIncludeUrlPatternList(sessionId).size());
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginConfigIntegrationTest.groovy

                        settings.pluginManager.apply("com.gradle.develocity")
                    }
                }
            """
    
            when:
            succeeds "t", "--scan", "--init-script", initScript.absolutePath
    
            then:
            plugin.assertAutoApplied(output, false)
            outputContains("Applying ${plugin.id} via init script")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/meta/lazy.go

    func NewLazyRESTMapperLoader(fn func() (RESTMapper, error)) RESTMapper {
    	obj := &lazyObject{loader: fn}
    	return obj
    }
    
    // init lazily loads the mapper and typer, returning an error if initialization has failed.
    func (o *lazyObject) init() error {
    	o.lock.Lock()
    	defer o.lock.Unlock()
    	if o.loaded {
    		return o.err
    	}
    	o.mapper, o.err = o.loader()
    	o.loaded = true
    	return o.err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/utils/ThreadLocalDelegate.kt

    
    internal class ThreadLocalValue<V : Any>(private val init: () -> V) {
        private val map = ConcurrentHashMap<Long, V>()
    
        @Suppress("NOTHING_TO_INLINE")
        inline operator fun getValue(thisRef: Any?, property: KProperty<*>): V =
            map.computeIfAbsent(Thread.currentThread().id) {
                init()
            }
    }
    
    internal fun <V : Any> threadLocal(init: () -> V): ThreadLocalValue<V> =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Sep 15 09:32:30 UTC 2021
    - 766 bytes
    - Viewed (0)
  6. src/go/types/resolver.go

    // have the appropriate number of names and init exprs. For const
    // decls, init is the value spec providing the init exprs; for
    // var decls, init is nil (the init exprs are in s in this case).
    func (check *Checker) arityMatch(s, init *ast.ValueSpec) {
    	l := len(s.Names)
    	r := len(s.Values)
    	if init != nil {
    		r = len(init.Values)
    	}
    
    	const code = WrongAssignCount
    	switch {
    	case init == nil && r == 0:
    		// var decl w/o init expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. test/mainsig.go

    func main() int { return 1 } // ERROR "func main must have no arguments and no return values" "main redeclared in this block"
    
    func init(int)  {}           // ERROR "func init must have no arguments and no return values"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 17 04:43:46 UTC 2020
    - 598 bytes
    - Viewed (0)
  8. test/fixedbugs/issue29919.dir/a.go

    	}
    	if !more {
    		panic("traceback truncated after f")
    	}
    	f, more = iter.Next()
    	if f.Function != "test/a.init" || !strings.HasSuffix(f.File, "a.go") || f.Line != 15 {
    		panic(fmt.Sprintf("bad init %v\n", f))
    	}
    	if !more {
    		panic("traceback truncated after init")
    	}
    	f, _ = iter.Next()
    	if !strings.HasPrefix(f.Function, "runtime.") {
    		panic("runtime. driver missing")
    	}
    
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 17:50:47 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/python/mlir_wrapper/builders.cc

                                          llvm::ArrayRef<mlir::Type>(outputs));
               });
      py::class_<mlir::OpBuilder>(m, "OpBuilder")
          .def(py::init<mlir::MLIRContext*>())
          .def(py::init<mlir::Region&>())
          .def(py::init<mlir::Operation*>())
          .def(py::init<mlir::Block*, mlir::Block::iterator>())
          .def("getUnknownLoc", &mlir::OpBuilder::getUnknownLoc)
          .def("setInsertionPoint",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 08:44:55 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  10. src/internal/types/testdata/fixedbugs/issue48082.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue48082
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 264 bytes
    - Viewed (0)
Back to top