Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 2,879 for forSet (0.18 sec)

  1. src/slices/sort.go

    		if cmp(x[i], x[i-1]) < 0 {
    			return false
    		}
    	}
    	return true
    }
    
    // Min returns the minimal value in x. It panics if x is empty.
    // For floating-point numbers, Min propagates NaNs (any NaN value in x
    // forces the output to be NaN).
    func Min[S ~[]E, E cmp.Ordered](x S) E {
    	if len(x) < 1 {
    		panic("slices.Min: empty list")
    	}
    	m := x[0]
    	for i := 1; i < len(x); i++ {
    		m = min(m, x[i])
    	}
    	return m
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:54:41 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava-gwt/pom.xml

              <show>package</show>
            </configuration>
          </plugin>
          <!-- Disable "normal" testing, which doesn't work for GWT tests. -->
          <plugin>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 15:00:55 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/ModuleForcingResolveRuleSpec.groovy

    class ModuleForcingResolveRuleSpec extends Specification {
    
        private static ModuleIdentifier mid(String group, String name) {
            DefaultModuleIdentifier.newId(group, name)
        }
    
        def "forces modules"() {
            given:
            def details = Mock(DependencySubstitutionInternal)
    
            when:
            new ModuleForcingResolveRule([
                newSelector(mid("org", "module1"), "1.0"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. pkg/controller/bootstrap/tokencleaner.go

    	if err := tc.syncFunc(ctx, key); err != nil {
    		tc.queue.AddRateLimited(key)
    		utilruntime.HandleError(fmt.Errorf("Sync %v failed with : %v", key, err))
    		return true
    	}
    
    	tc.queue.Forget(key)
    	return true
    }
    
    func (tc *TokenCleaner) syncFunc(ctx context.Context, key string) error {
    	logger := klog.FromContext(ctx)
    	startTime := time.Now()
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       * return type is plain FilenameFilter. If we made such a change, then the annotation we choose
       * here would have no significance to end users, who would be forced to conform to the signature
       * used in FilenameFilter.)
       */
      @Override
      public boolean accept(File dir, String fileName) {
        return pattern.matcher(fileName).matches();
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/WellBehavedPluginTest.groovy

            ])
            if (appliesBasePlugin) {
                assert output.count("configuring :") == 2
                outputContains("configuring :help")
                // because capturing registered outputs for stale output cleanup forces configuring clean
                outputContains("configuring :clean")
            } else {
                assert output.count("configuring :") == 1
                outputContains("configuring :help")
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:39:44 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompileAvoidanceIntegrationSpec.groovy

            succeeds ":b:${language.compileTaskName}", "--debug"
    
            then:
            executedAndNotSkipped(":b:${language.compileTaskName}")
    
            when:
            // Remove sealed modifier, forces change to API.
            file("a/src/main/${language.name}/Foo.${language.name}").delete()
            file("a/src/main/${language.name}/Foo.${language.name}") << '''
    interface Foo {
        interface Sub extends Foo {}
    }
    '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/testdata/hist.go

    }
    
    var cannedInput string = `1
    1
    1
    2
    2
    2
    4
    4
    5
    `
    
    func test() {
    	// For #19868
    	l := line{point{1 + zero, 2 + zero}, point{3 + zero, 4 + zero}}
    	tinycall()                // this forces l etc to stack
    	dx := l.end.x - l.begin.x //gdb-dbg=(l.begin.x,l.end.y)//gdb-opt=(l,dx/O,dy/O)
    	dy := l.end.y - l.begin.y //gdb-opt=(dx,dy/O)
    	sink = dx + dy            //gdb-opt=(dx,dy)
    	// For #21098
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 18:05:07 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DependencyManagementGradleUserHomeScopeServices.java

                @Override
                public void buildFinished(BuildResult result) {
                    artifactCachesProvider.getWritableCacheAccessCoordinator().useCache(() -> {
                        // forces cleanup even if cache wasn't used
                    });
                }
            });
            return artifactCachesProvider;
        }
    
        @Provides
        ImmutableTransformWorkspaceServices createTransformWorkspaceServices(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/unicode/norm/readwriter.go

    			i = 0
    		}
    		if i > 0 {
    			if _, err = w.w.Write(w.buf[:i]); err != nil {
    				break
    			}
    			bn := copy(w.buf, w.buf[i:])
    			w.buf = w.buf[:bn]
    		}
    	}
    	return n, err
    }
    
    // Close forces data that remains in the buffer to be written.
    func (w *normWriter) Close() error {
    	if len(w.buf) > 0 {
    		_, err := w.w.Write(w.buf)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top