- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 311 for Convert (0.1 seconds)
-
cmd/net.go
if nonInterIPV4s.IsEmpty() { hostIPs = hostIPs.ApplyFunc(func(ip string) string { if net.ParseIP(ip).IsLoopback() { // Any loopback IP which is not 127.0.0.1 // convert it to check for intersections. return "127.0.0.1" } return ip }) nonInterIPV4s = mustGetLocalIP4().Intersection(hostIPs) } nonInterIPV6s := mustGetLocalIP6().Intersection(hostIPs)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.6K bytes - Click Count (1) -
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
// although nothing has changed merge returns true, as the last modified date is equal // TODO: improve merge here? assertTrue(target.merge(source)); // never convert from legacy format to v1.1 format assertEquals(0, target.getVersioning().getSnapshotVersions().size()); assertEquals(formatDate(after, false), target.getVersioning().getLastUpdated()); assertEquals(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 13.7K bytes - Click Count (0) -
tests/prepared_stmt_test.go
t.Fatalf("Failed, got error: %v, rows affected: %v", result.Error, result.RowsAffected) } tx2.Commit() // Attempt to convert the connection pool of tx to the *gorm.PreparedStmtDB type. // If the conversion is successful, ok will be true and conn will be the converted object; // otherwise, ok will be false and conn will be nil.
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java
Resource resourceWithTarget = new Resource(); resourceWithTarget.setDirectory("src/main/custom"); resourceWithTarget.setTargetPath("custom-output"); // Convert through DefaultSourceRoot to ensure targetPath is preserved DefaultSourceRoot sourceRootFromResource = new DefaultSourceRoot(project.getBaseDirectory(), ProjectScope.MAIN, resourceWithTarget.getDelegate());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 12.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
} // 2. Normalize, from bufferB to bufferA. val normalized = normalizeNfc(bufferB.readUtf8()) bufferA.writeUtf8(normalized) // 3. For each label, convert/validate Punycode. val decoded = Punycode.decode(bufferA.readUtf8()) ?: return null // 4.1 Validate. // Must be NFC. if (decoded != normalizeNfc(decoded)) return null
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
StringBuilder methodKey = new StringBuilder(method.getName()); for (Class<?> parameterType : parameterTypes) { // If the argument type is primitive then we want // to convert our primitive type signature to the // corresponding Object type so introspection for // methods with primitive types will work correctly. if (parameterType.isPrimitive()) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
@GwtIncompatible // threads public void testOverflowTimeout() throws Exception { // First, sanity check that naive multiplication would really overflow to a negative number: long nanosPerSecond = NANOSECONDS.convert(1, SECONDS); assertThat(nanosPerSecond * Long.MAX_VALUE).isLessThan(0L); // Check that we wait long enough anyway (presumably as long as MAX_VALUE nanos):
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 15.4K bytes - Click Count (0) -
src/archive/zip/struct.go
// SetModTime sets the [Modified], [ModifiedTime], and [ModifiedDate] fields // to the given time in UTC. // // Deprecated: Use [Modified] instead. func (h *FileHeader) SetModTime(t time.Time) { t = t.UTC() // Convert to UTC for compatibility h.Modified = t h.ModifiedDate, h.ModifiedTime = timeToMsDosTime(t) } const ( // Unix constants. The specification doesn't mention them,
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue May 28 21:41:09 GMT 2024 - 12.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
builder: HttpUrl.Builder, value: String, ) abstract operator fun get(url: HttpUrl): String /** * Returns a character equivalent to 's' in this component. This is used to convert hostname * characters to lowercase. */ open fun canonicalize(s: String): String = s } /** Tests integration between HttpUrl and the host platform's built-in URL classes, if any. */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 12.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
} return retValue.trim(); } /** * Decodes the specified (portion of a) URL. <strong>Note:</strong> This decoder assumes that ISO-8859-1 is used to * convert URL-encoded bytes to characters. * * @param url The URL to decode, may be <code>null</code>. * @return The decoded URL or <code>null</code> if the input was <code>null</code>. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.1K bytes - Click Count (0)