Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for Ng (0.08 sec)

  1. test/fixedbugs/bug244.go

    // license that can be found in the LICENSE file.
    
    package main
    
    var nf int
    var ng int
    
    func f() (int, int, int) {
    	nf++
    	return 1, 2, 3
    }
    
    func g() int {
    	ng++
    	return 4
    }
    
    var x, y, z = f()
    var m = make(map[int]int)
    var v, ok = m[g()]
    
    func main() {
    	if x != 1 || y != 2 || z != 3 || nf != 1 || v != 0 || ok != false || ng != 1 {
    Registered: 2024-06-12 16:32
    - Last Modified: 2012-02-17 04:49
    - 555 bytes
    - Viewed (0)
  2. README.md

    =====
    
    JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java.
    From version 2.x, this project is forked from [jcifs-ng](https://github.com/AgNO3/jcifs-ng) and existing jcifs code is merged as `smb1`.
    
    ## Version
    
    [Versions in Maven Repository](https://repo1.maven.org/maven2/org/codelibs/jcifs/)
    
    ## Using Maven
    
    ```
    <dependency>
    Registered: 2024-06-12 15:45
    - Last Modified: 2023-05-10 09:29
    - 1.5K bytes
    - Viewed (0)
  3. test/fixedbugs/issue4618.go

    func G() {
    	t := &T{}
    	_ = t
    }
    
    func main() {
    	nf := testing.AllocsPerRun(100, F)
    	ng := testing.AllocsPerRun(100, G)
    	if int(nf) > 1 {
    		fmt.Printf("AllocsPerRun(100, F) = %v, want 1\n", nf)
    		os.Exit(1)
    	}
    	if int(ng) != 0 && (runtime.Compiler != "gccgo" || int(ng) != 1) {
    		fmt.Printf("AllocsPerRun(100, G) = %v, want 0\n", ng)
    		os.Exit(1)
    	}
    Registered: 2024-06-12 16:32
    - Last Modified: 2016-05-02 13:43
    - 652 bytes
    - Viewed (0)
  4. cmd/notification.go

    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    		client := client
    		ng.Go(ctx, func() error {
    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.DeletePolicy(ctx, policyName)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    Registered: 2024-06-16 00:44
    - Last Modified: 2024-05-24 23:05
    - 44.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/xml/SchemaUtil.java

            assertArgumentNotNull("schema", schema);
            return newSchema(SchemaFactoryUtil.newW3cXmlSchemaFactory(), schema);
        }
    
        /**
         * ファイルからRELAX NGのための{@link Schema}を生成します。
         *
         * @param schema
         *            RELAX NGファイル。{@literal null}であってはいけません
         * @return {@link Schema}
         */
        public static Schema newRelaxNgSchema(final File schema) {
            assertArgumentNotNull("schema", schema);
    Registered: 2024-06-12 12:50
    - Last Modified: 2024-03-07 01:59
    - 5.8K bytes
    - Viewed (0)
  6. test/fixedbugs/issue4667.go

    	F()
    }
    
    func F() {
    	var x int
    	globl = &x
    }
    
    func main() {
    	nf := testing.AllocsPerRun(100, F)
    	ng := testing.AllocsPerRun(100, G)
    	if int(nf) > 1 {
    		fmt.Printf("AllocsPerRun(100, F) = %v, want 1\n", nf)
    		os.Exit(1)
    	}
    	if int(ng) > 1 {
    		fmt.Printf("AllocsPerRun(100, G) = %v, want 1\n", ng)
    		os.Exit(1)
    	}
    Registered: 2024-06-12 16:32
    - Last Modified: 2016-05-02 13:43
    - 558 bytes
    - Viewed (0)
  7. src/iter/pull_test.go

    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(1))
    
    	c := 0
    	ng := runtime.NumGoroutine()
    	for i := 0; i < 1000; i++ {
    		nng := runtime.NumGoroutine()
    		if nng == ng {
    			c++
    		} else {
    			c = 0
    			ng = nng
    		}
    		if c >= 100 {
    			// The same value 100 times in a row is good enough.
    			return ng
    		}
    		runtime.Gosched()
    	}
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-06-07 19:09
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/xml/SchemaFactoryUtil.java

            if (!external) {
                disableExternalResources(schemaFactory);
            }
            return schemaFactory;
        }
    
        /**
         * RELAX NGのための{@link SchemaFactory}を生成します。
         *
         * @return RELAX NGのための{@link SchemaFactory}
         */
        public static SchemaFactory newRelaxNgSchemaFactory() {
            return newRelaxNgSchemaFactory(false);
        }
    
    Registered: 2024-06-12 12:50
    - Last Modified: 2024-03-07 01:59
    - 2.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/PgpKeyGrouperTest.groovy

                "org.codehaus.groovy.modules",
                "io.github.http-builder-ng",
                "org.jetbrains.intellij.deps",
                "org.jetbrains.kotlinx",
                "info.picocli",
                "com.github.javaparser",
                "io.github.http-builder-ng.test"
            ]) as Set == [["org", "jetbrains"], ["io","github", "http-builder-ng"]] as Set
        }
    
        def "groups entries which have the same module component id"() {
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-10-10 21:10
    - 8.6K bytes
    - Viewed (0)
  10. src/math/big/sqrt.go

    	// let
    	//   f(t) = 1/t² - x
    	// then
    	//   g(t) = f(t)/f'(t) = -½t(1 - xt²)
    	// and the next guess is given by
    	//   t2 = t - g(t) = ½t(3 - xt²)
    	u := newFloat(z.prec)
    	v := newFloat(z.prec)
    	three := three()
    	ng := func(t *Float) *Float {
    		u.prec = t.prec
    		v.prec = t.prec
    		u.Mul(t, t)     // u = t²
    		u.Mul(x, u)     //   = xt²
    		v.Sub(three, u) // v = 3 - xt²
    		u.Mul(t, v)     // u = t(3 - xt²)
    Registered: 2024-06-12 16:32
    - Last Modified: 2022-04-11 16:34
    - 2.8K bytes
    - Viewed (0)
Back to top