Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for avoiding (0.21 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    [[sec:hard_coded_file_paths]]
    == Hardcoded paths and laziness
    
    It is best practice to *avoid* hardcoded paths in build scripts.
    
    In addition to avoiding hardcoded paths, Gradle encourages laziness in its build scripts.
    This means that tasks and operations should be deferred until they are actually needed rather than executed eagerly.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    					// the value as an integer constant,
    					// but not as a general constant.
    					// Treat this as a variable of the
    					// appropriate type, not a constant,
    					// to get C-style type handling,
    					// avoiding the problem that C permits
    					// uint64(-1) but Go does not.
    					// See issue 26066.
    					n.Kind = "var"
    				default:
    					n.Const = fmt.Sprintf("%f", floats[i])
    				}
    			case "sconst":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. src/net/dnsclient_unix_test.go

    		// private.
    		{"local", false},
    		{"onion", false},
    		{"local.", false},
    		{"onion.", false},
    	}
    	for _, tt := range tests {
    		got := avoidDNS(tt.name)
    		if got != tt.avoid {
    			t.Errorf("avoidDNS(%q) = %v; want %v", tt.name, got, tt.avoid)
    		}
    	}
    }
    
    func TestNameListAvoidDNS(t *testing.T) {
    	c := &dnsConfig{search: []string{"go.dev.", "onion."}}
    	got := c.nameList("www")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top