Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 375 for initiatives (0.21 sec)

  1. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/KotlinApplicationInitIntegrationTest.groovy

            executed(":app:test")
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        @Requires(value = UnitTestPreconditions.KotlinOnlySupportsJdk21Earlier.class)
        def "initializes Kotlin application with JUnit Jupiter test framework with --split-project"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. internal/cachevalue/cache.go

    }
    
    // NewFromFunc allocates a new cached value instance and initializes it with an
    // update function, making it ready for use.
    func NewFromFunc[T any](ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) *Cache[T] {
    	return &Cache[T]{
    		ttl:      ttl,
    		updateFn: update,
    		opts:     opts,
    	}
    }
    
    // InitOnce initializes the cache with a TTL and an update function. It is
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/queuesort/priority_sort.go

    	p1 := corev1helpers.PodPriority(pInfo1.Pod)
    	p2 := corev1helpers.PodPriority(pInfo2.Pod)
    	return (p1 > p2) || (p1 == p2 && pInfo1.Timestamp.Before(pInfo2.Timestamp))
    }
    
    // New initializes a new plugin and returns it.
    func New(_ context.Context, _ runtime.Object, handle framework.Handle) (framework.Plugin, error) {
    	return &PrioritySort{}, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. samples/bookinfo/networking/egress-rule-google-apis.yaml

    spec:
      host: www.googleapis.com
      trafficPolicy:
        loadBalancer:
          simple: ROUND_ROBIN
        portLevelSettings:
        - port:
            number: 443
          tls:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 17:07:25 UTC 2019
    - 885 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.h

    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "tensorflow/core/public/session.h"
    
    namespace mlir {
    namespace tf_saved_model {
    
    // Initializes all variables in Session Init function for all variables in
    // 'session'.
    LogicalResult InitializeVariablesInSessionInitializer(
        ModuleOp module, tensorflow::Session *session);
    
    }  // namespace tf_saved_model
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 14:25:57 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

       * the event source has already been closed or canceled.
       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new event source and immediately returns it. Creating an event source initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
         * notified. The caller must cancel the returned event source when it is no longer in use.
         */
        fun newEventSource(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. cmd/erasure-sets_test.go

    	defer cancel()
    
    	nDisks := 16 // Maximum disks.
    	var erasureDisks []string
    	for i := 0; i < nDisks; i++ {
    		// Do not attempt to create this path, the test validates
    		// so that newErasureSets initializes non existing paths
    		// and successfully returns initialized object layer.
    		disk := filepath.Join(globalTestTmpDir, "minio-"+nextSuffix())
    		erasureDisks = append(erasureDisks, disk)
    		defer os.RemoveAll(disk)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 12 07:21:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/examples/prebind/prebind.go

    	}
    	if pod.Namespace != "foo" {
    		return framework.NewStatus(framework.Unschedulable, "only pods from 'foo' namespace are allowed")
    	}
    	return nil
    }
    
    // New initializes a new plugin and returns it.
    func New(_ context.Context, _ *runtime.Unknown, _ framework.Handle) (framework.Plugin, error) {
    	return &StatelessPreBindExample{}, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 03:43:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. internal/hash/sha256/sh256.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sha256
    
    import (
    	"crypto/sha256"
    	"hash"
    )
    
    // New initializes a new sha256.New()
    func New() hash.Hash { return sha256.New() }
    
    // Sum256 returns the SHA256 checksum of the data.
    func Sum256(data []byte) [sha256.Size]byte { return sha256.Sum256(data) }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 06:31:35 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/SynchronizedLoggingTest.groovy

    import java.util.concurrent.CopyOnWriteArraySet
    
    public class SynchronizedLoggingTest extends ConcurrentSpec {
        def logging = new SynchronizedLogging(Stub(Clock), Stub(BuildOperationIdFactory))
    
        def "initialises on first usage"() {
            expect:
            logging.listenerManager != null
            logging.listenerManager == logging.listenerManager
    
            logging.progressLoggerFactory != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top