Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for defaultDate (0.26 sec)

  1. platforms/software/signing/src/main/java/org/gradle/plugins/signing/Signature.java

         */
        @Override
        @Internal
        public Date getDate() {
            return date != null ? date : defaultDate();
        }
    
        @Nullable
        private Date defaultDate() {
            final File file = getFile();
            if (file == null) {
                return null;
            }
    
            final long modified = file.lastModified();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedByRuleMethodIntegrationTest.groovy

                    }
    
                    @Rules
                    void rules(CalculateName rules, Thing t) {
                        assert rules.defaultName == null
                        rules.defaultName = 'default'
                        assert rules.defaultName == 'default'
                    }
                }
    
                abstract class CalculateName extends RuleSource {
                    @RuleInput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    		}
    		paths[name] = append(paths[name], path)
    	}
    
    	defaultPath := paths[""]
    	b.llvmSymbolizer, b.llvmSymbolizerFound = chooseExe([]string{"llvm-symbolizer"}, []string{}, append(paths["llvm-symbolizer"], defaultPath...))
    	b.addr2line, b.addr2lineFound = chooseExe([]string{"addr2line"}, []string{"gaddr2line"}, append(paths["addr2line"], defaultPath...))
    	// The "-n" option is supported by LLVM since 2011. The output of llvm-nm
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. src/net/http/cookiejar/jar.go

    		// of interpreting ::1%.www.example.com as a subdomain of www.example.com.
    		return true
    	}
    	return net.ParseIP(host) != nil
    }
    
    // defaultPath returns the directory part of a URL's path according to
    // RFC 6265 section 5.1.4.
    func defaultPath(path string) string {
    	if len(path) == 0 || path[0] != '/' {
    		return "/" // Path is empty or malformed.
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/deploymentcontroller.go

    	proxyUID, proxyGID := inject.GetProxyIDs(ns)
    
    	defaultName := getDefaultName(gw.Name, &gw.Spec, gi.disableNameSuffix)
    
    	serviceType := gi.defaultServiceType
    	if o, f := gw.Annotations[serviceTypeOverride]; f {
    		serviceType = corev1.ServiceType(o)
    	}
    
    	input := TemplateInput{
    		Gateway:        &gw,
    		DeploymentName: model.GetOrDefault(gw.Annotations[gatewayNameOverride], defaultName),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/DefaultAnalysisSchema.kt

            override fun toString(): String = dataType.toString()
        }
    
        @Serializable
        @SerialName("dataTypeRefName")
        data class DefaultName(override val fqName: FqName) : DataTypeRef.Name {
            override fun toString(): String = fqName.simpleName
        }
    }
    
    
    val DataType.ref: DataTypeRef
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CookieTest.kt

      }
    
      @Test fun hostOnly() {
        assertThat(parse(url, "a=b")!!.hostOnly).isTrue()
        assertThat(
          parse(url, "a=b; domain=example.com")!!.hostOnly,
        ).isFalse()
      }
    
      @Test fun defaultPath() {
        assertThat(parse("http://example.com/foo/bar".toHttpUrl(), "a=b")!!.path).isEqualTo("/foo")
        assertThat(parse("http://example.com/foo/".toHttpUrl(), "a=b")!!.path).isEqualTo("/foo")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. src/net/http/cookiejar/jar_test.go

    	"//":          "/",
    	"/a//b":       "/a/",
    	"/a/./b":      "/a/.",
    	"/a/../b":     "/a/..",
    }
    
    func TestDefaultPath(t *testing.T) {
    	for path, want := range defaultPathTests {
    		if got := defaultPath(path); got != want {
    			t.Errorf("%q: got %q, want %q", path, got, want)
    		}
    	}
    }
    
    var domainAndTypeTests = [...]struct {
    	host         string // host Set-Cookie header was received from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top