Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 409 for SplitN (0.51 sec)

  1. cmd/dummy-data-generator_test.go

    // concatenations of `alphabets`.
    //
    // The skipOffset (generally = 0) can be used to skip a given number
    // of bytes from the beginning of the infinite stream. This is useful
    // to compare such streams of bytes that may be split up, because:
    //
    // Given the function:
    //
    //	f := func(r io.Reader) string {
    //	          b, _ := io.ReadAll(r)
    //	          return string(b)
    //	}
    //
    // for example, the following is true:
    //
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RangeSet.java

     * rangeSet.add(Range.closedOpen(15, 20)); // connected range; {[1, 10], [11, 20)}
     * rangeSet.add(Range.openClosed(0, 0)); // empty range; {[1, 10], [11, 20)}
     * rangeSet.remove(Range.open(5, 10)); // splits [1, 10]; {[1, 5], [10, 10], [11, 20)}
     * }
     *
     * <p>Note that the behavior of {@link Range#isEmpty()} and {@link Range#isConnected(Range)} may not
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. internal/config/api/api.go

    	var corsAllowOrigin []string
    	corsList := env.Get(EnvAPICorsAllowOrigin, kvs.Get(apiCorsAllowOrigin))
    	if corsList == "" {
    		corsAllowOrigin = []string{"*"} // defaults to '*'
    	} else {
    		corsAllowOrigin = strings.Split(corsList, ",")
    		if slices.Contains(corsAllowOrigin, "") {
    			return cfg, errors.New("invalid cors value")
    		}
    	}
    	cfg.CorsAllowOrigin = corsAllowOrigin
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.5K bytes
    - Viewed (1)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    LifecycleMojo mojo = mojos.get(i);
    
                    // Compute goal coordinates
                    String groupId, artifactId, version, goal;
                    String[] p = mojo.getGoal().trim().split(":");
                    if (p.length == 3) {
                        // <groupId>:<artifactId>:<goal>
                        groupId = p[0];
                        artifactId = p[1];
                        version = null;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

            if (tasks.isEmpty()
                    && (rootProject.getDefaultGoal() != null
                            && !rootProject.getDefaultGoal().isEmpty())) {
                tasks = Stream.of(rootProject.getDefaultGoal().split("\\s+"))
                        .filter(g -> !g.isEmpty())
                        .collect(Collectors.toList());
            }
    
            return calculateTaskSegments(session, tasks);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. docs/debugging/s3-check-md5/main.go

    				log.Println("SKIPPED: encrypted with SSE-KMS do not have md5sum as ETag:", objFullPath(object))
    				continue
    			}
    			parts := 1
    			multipart := false
    			s := strings.Split(object.ETag, "-")
    			switch len(s) {
    			case 1:
    				// nothing to do
    			case 2:
    				if p, err := strconv.Atoi(s[1]); err == nil {
    					parts = p
    				} else {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. tests/callbacks_test.go

    }
    
    func getFuncName(fc interface{}) string {
    	reflectValue, ok := fc.(reflect.Value)
    	if !ok {
    		reflectValue = reflect.ValueOf(fc)
    	}
    
    	fnames := strings.Split(runtime.FuncForPC(reflectValue.Pointer()).Name(), ".")
    	return fnames[len(fnames)-1]
    }
    
    func c1(*gorm.DB) {}
    func c2(*gorm.DB) {}
    func c3(*gorm.DB) {}
    func c4(*gorm.DB) {}
    func c5(*gorm.DB) {}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Derived suite generators for Guava collection interfaces, split out of the suite builders so that
     * they are available to GWT.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public final class DerivedGoogleCollectionGenerators {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.8K bytes
    - Viewed (2)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

            return new DefaultPhase(name, Collections.emptyList(), links, asList(phases));
        }
    
        static Plugin plugin(String coords, String phase) {
            String[] c = coords.split(":");
            return Plugin.newBuilder()
                    .groupId(c[0])
                    .artifactId(c[1])
                    .version(c[2])
                    .executions(Collections.singletonList(PluginExecution.newBuilder()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 28 15:21:19 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                if (pagingQueryList != null) {
                    final String prefix;
                    if (query != null) {
                        prefix = "ex_q=" + query.split(":")[0] + "%3A";
                    } else {
                        prefix = null;
                    }
                    return pagingQueryList.stream()
                            .filter(s -> prefix == null || !s.startsWith(prefix))
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
Back to top