- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 412 for Split (0.07 sec)
-
internal/config/dns/dns_path.go
return strings.Join(labels[:ll-1], ".") + "." } return dns.Fqdn(strings.Join(labels, ".")) } // msgUnPath converts a etcd path to domainName. func msgUnPath(s string) string { l := strings.Split(s, etcdPathSeparator) if l[len(l)-1] == "" { l = l[:len(l)-1] } // start with 1, to strip /skydns for i, j := 1, len(l)-1; i < j; i, j = i+1, j-1 { l[i], l[j] = l[j], l[i] }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 15:03:08 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.admin.relatedquery; import static org.codelibs.core.stream.StreamUtil.split; import static org.codelibs.core.stream.StreamUtil.stream; import java.util.stream.Collectors; import java.util.stream.Stream; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 14.1K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
} }) } } func getRules(b []byte) map[string]string { // Separate content with "COMMIT" parts := strings.Split(string(b), "COMMIT") tables := make(map[string]string) for _, table := range parts { // If table is not empty, get table name from the first line lines := strings.Split(strings.Trim(table, "\n"), "\n") lines = slices.Filter(lines, func(line string) bool {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 27 16:44:45 UTC 2024 - 8.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java
sb.setLength(0); repeat(sb, BOX_CHAR, size); result.add(sb.toString()); // lines for (String line : lines) { sb.setLength(0); String[] words = S_FILTER.split(line); for (String word : words) { if (sb.length() >= remainder - word.length() - (sb.length() > 0 ? 1 : 0)) { repeat(sb, ' ', remainder - sb.length());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/erasure-multipart.go
if b64, err := base64.RawURLEncoding.DecodeString(uploadIDDir); err == nil { if split := strings.Split(string(b64), "x"); len(split) == 2 { t, err := strconv.ParseInt(split[1], 10, 64) if err == nil { modTime = time.Unix(0, t) } } } // Fallback for older uploads without time in the ID.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
final String[] array = StringUtil.split("aaa\nbbb", "\n"); assertEquals("1", 2, array.length); assertEquals("2", "aaa", array[0]); assertEquals("3", "bbb", array[1]); } /** * */ @Test public void testSplit2() { final String[] array = StringUtil.split("aaa, bbb", ", "); assertEquals("1", 2, array.length);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_redirect.go
func validateCIDRList(cidrs string) error { if len(cidrs) > 0 { for _, cidr := range strings.Split(cidrs, ",") { if _, err := netip.ParsePrefix(cidr); err != nil { return fmt.Errorf("failed parsing cidr '%s': %v", cidr, err) } } } return nil } func splitPorts(portsString string) []string { return strings.Split(portsString, ",") } func dedupPorts(ports []string) []string {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.admin.accesstoken; import static org.codelibs.core.stream.StreamUtil.split; import static org.codelibs.core.stream.StreamUtil.stream; import java.util.stream.Collectors; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 14.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.admin.labeltype; import static org.codelibs.core.stream.StreamUtil.split; import static org.codelibs.core.stream.StreamUtil.stream; import java.util.stream.Collectors; import java.util.stream.Stream; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.1K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
writeShort(1) // question count writeShort(0) // answerCount writeShort(0) // authorityResourceCount writeShort(0) // additional val nameBuf = Buffer() val labels = host.split('.').dropLastWhile { it.isEmpty() } for (label in labels) { val utf8ByteCount = label.utf8Size() require(utf8ByteCount == label.length.toLong()) { "non-ascii hostname: $host" }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.8K bytes - Viewed (0)