Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 270 for consuming (0.54 sec)

  1. src/context/example_test.go

    func ExampleWithCancel() {
    	// gen generates integers in a separate goroutine and
    	// sends them to the returned channel.
    	// The callers of gen need to cancel the context once
    	// they are done consuming generated integers not to leak
    	// the internal goroutine started by gen.
    	gen := func(ctx context.Context) <-chan int {
    		dst := make(chan int)
    		n := 1
    		go func() {
    			for {
    				select {
    				case <-ctx.Done():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:24:28 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

            "same location"        | null           | "file"     | "output.txt"               | "output.txt"
            "consuming ancestor"   | null           | "file"     | "build/dir/sub/output.txt" | "build/dir"
            "consuming descendant" | 'build/dir'    | "dir"      | "build/dir/sub/output.txt" | "build/dir/sub/output.txt"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. hack/make-rules/test-integration.sh

      kube::log::status "Running integration test cases"
    
      # shellcheck disable=SC2034
      # KUBE_RACE and MAKEFLAGS are used in the downstream make, and we set them to
      # empty here to ensure that we aren't unintentionally consuming them from the
      # previous make invocation.
      KUBE_TEST_ARGS="${SHORT:--short=true} --vmodule=${KUBE_TEST_VMODULE} ${KUBE_TEST_ARGS}" \
          WHAT="${WHAT:-$(kube::test::find_integration_test_dirs | paste -sd' ' -)}" \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:57 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MixedMavenAndIvyModulesIntegrationTest.groovy

                            module('org.test:m2:1.0')
                        }
                    }
                }
            }
        }
    
        def "selects default configuration of ivy module when dependency from consuming maven module is substituted"() {
            def m1 = ivyRepo.module("org.test", "m1", "1.0")
                .configuration("compile")
                .publish()
            def m2 = ivyRepo.module("org.test", "m2", "1.0").publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/NamespaceId.java

    import java.io.DataOutputStream;
    import java.io.IOException;
    import java.io.Serializable;
    import java.util.Base64;
    
    /**
     * Represents an identifier containing a tuple of namespace and name for use when
     * consuming/producing namespaced elements in descriptors.
     */
    public class NamespaceId implements Serializable {
        private String namespace;
        private String name;
    
        public static NamespaceId decode(String encoding) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

                    )
                }
            """
    
            when:
            run "myTask"
    
            then:
            outputContains("CONSUMING build/producerOutput")
    
            when:
            run "myTask"
    
            then:
            outputContains("CONSUMING build/producerOutput")
    
            where:
            methodName                         | useCase
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/KotlinPrecompiledScriptPluginsSmokeTest.groovy

                // Writing build operation traces is broken with Gradle 6.
                buildRunner.withoutBuildOperationTracing()
            }
    
            buildRunner.build()
    
            and: 'a build consuming it'
            settingsFile << """
                pluginManagement {
                    repositories {
                        maven { url = uri('${pluginRepo.uri}') }
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/testdata/hist.go

    // by the compiler. It is compiled with various flags, then the resulting
    // binary is "debugged" under the control of a harness.  Because the compile+debug
    // step is time-consuming, the tests for different bugs are all accumulated here
    // so that their cost is only the time to "n" through the additional code.
    
    package main
    
    import (
    	"bufio"
    	"fmt"
    	"io"
    	"os"
    	"strconv"
    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/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3ResourceConnector.java

                }
            } catch (IOException e) {
                // Don't complain loudly to the user about the error there because we were discarding the response anyway.
                LOGGER.debug("Exception while consuming empty object content from metadata request", e);
            } finally {
                // This also closes objectContent, no need to close it explicitly.
                IoActions.closeQuietly(s3Object);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. pkg/scheduler/util/pod_resources.go

    // pods will not all be scheduled to the node with the smallest in-use request,
    // and that when scheduling regular pods, such pods will not see zero-request pods as
    // consuming no resources whatsoever. We chose these values to be similar to the
    // resources that we give to cluster addon pods (#10653). But they are pretty arbitrary.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 01 06:25:30 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top