Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,335 for look (0.11 sec)

  1. test/fixedbugs/bug227.go

    // license that can be found in the LICENSE file.
    
    package main
    
    var (
    	nf      int
    	x, y, z = f(), f(), f()
    	m       = map[string]string{"a": "A"}
    	a, aok  = m["a"]
    	b, bok  = m["b"]
    )
    
    func look(s string) (string, bool) {
    	x, ok := m[s]
    	return x, ok
    }
    
    func f() int {
    	nf++
    	return nf
    }
    
    func main() {
    	if nf != 3 || x != 1 || y != 2 || z != 3 {
    		println("nf=", nf, " x=", x, " y=", y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 661 bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

                problem("Build file 'sub/sub-a/build.gradle': line 2: Project ':sub:sub-a' cannot dynamically look up a property in the parent project ':sub'")
                problem("Build file 'sub/sub-b/build.gradle': line 2: Project ':sub:sub-b' cannot dynamically look up a property in the parent project ':sub'")
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/instance/ManagedInstance.java

        /**
         * Returns the node that this managed instance is backed by.
         */
        MutableModelNode getBackingNode();
    
        /**
         * Returns the original model type of the instance. This can be used to look up the schema for the type.
         */
        ModelType<?> getManagedType();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. schema/schema_helper_test.go

    					t.Errorf("schema %v failed to look up field with dbname %v", s, f.DBName)
    				}
    			}
    
    			for _, name := range []string{f.DBName, f.Name} {
    				if name != "" {
    					if field := s.LookUpField(name); field == nil || (field.Name != name && field.DBName != name) {
    						t.Errorf("schema %v failed to look up field with dbname %v", s, f.DBName)
    					}
    				}
    			}
    
    			if f.PrimaryKey {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        return result;
      }
    
      /*
       * If I understand correctly:
       *
       * This needs to be a @JsMethod so that J2CL knows to look for a JavaScript implemention of
       * it in Platform.native.js. (The JavaScript implementation inline below is visible to *GWT*, but
       * *J2CL* doesn't look at it.)
       *
       * However, once it's a @JsMethod, GWT produces a warning. That's because (a) the *other* purpose
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 29 18:16:45 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. src/log/slog/example_logvaluer_group_test.go

    		slog.String("first", n.First),
    		slog.String("last", n.Last))
    }
    
    func ExampleLogValuer_group() {
    	n := Name{"Perry", "Platypus"}
    	slog.Info("mission accomplished", "agent", n)
    
    	// JSON Output would look in part like:
    	// {
    	//     ...
    	//     "msg": "mission accomplished",
    	//     "agent": {
    	//         "first": "Perry",
    	//         "last": "Platypus"
    	//     }
    	// }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 20:55:33 UTC 2023
    - 825 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part3_gradle_dep_man.adoc

    == Step 2. Understanding Project Dependencies
    Gradle provides excellent support for dependency management and automation.
    
    Let's take another look at our build script (the `build.gradle(.kts)` file), specifically the following section:
    [.multi-language-sample]
    =====
    [source, kotlin]
    ----
    repositories {
        // Use Maven Central for resolving dependencies.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 22:40:17 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/go/types/lookup_test.go

    	conf := Config{
    		Importer: importer.Default(),
    	}
    
    	pkg, err := conf.Check("http", fset, files, nil)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	scope := pkg.Scope()
    	names := scope.Names()
    
    	// Look up an arbitrary name for each type referenced in the package scope.
    	lookup := func() {
    		for _, name := range names {
    			typ := scope.Lookup(name).Type()
    			LookupFieldOrMethod(typ, true, pkg, "m")
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 15:31:43 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/artifacts/transform/package-info.java

     * </p>
     *
     * <p>If you want to create a new artifact transform action, have a look at {@link org.gradle.api.artifacts.transform.TransformAction}.</p>
     */
    @org.gradle.api.NonNullApi
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 06:14:56 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  10. pkg/util/iptree/iptree.go

    	// mask the address for sanity
    	address := prefix.Masked().Addr()
    	// we can't check longer than the request mask
    	mask := prefix.Bits()
    	// walk the network bits of the prefix
    	for bitPosition < mask {
    		// Look for a child checking the bit position after the mask
    		n = n.child[getBitFromAddr(address, bitPosition+1)]
    		if n == nil {
    			return zeroT, false
    		}
    		// check we are in the right branch comparing the suffixes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.7K bytes
    - Viewed (0)
Back to top