- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 84 for getfp (0.07 sec)
-
platforms/documentation/docs/src/snippets/configurationCache/problemsFixedReuse/groovy/build.gradle
abstract class MyCopyTask extends DefaultTask { @InputDirectory abstract DirectoryProperty getSource() @OutputDirectory abstract DirectoryProperty getDestination() @Inject abstract FileSystemOperations getFs() @TaskAction void action() { fs.copy { from source into destination } } } // tag::fixed-reuse[] tasks.register('someTask', MyCopyTask) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 607 bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java
public abstract DirectoryProperty getDestinationDirectory(); @Inject protected abstract FileSystemOperations getFs(); @TaskAction public void generate() { // TODO: This could probably use InputChanges API File destinationDirectory = getDestinationDirectory().get().getAsFile(); getFs().delete(spec -> spec.delete(destinationDirectory)); destinationDirectory.mkdirs();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 28 06:35:34 UTC 2021 - 2.9K bytes - Viewed (0) -
misc/wasm/wasm_exec.js
const args = loadSliceOfValues(sp + 32); const result = Reflect.apply(m, v, args); sp = this._inst.exports.getsp() >>> 0; // see comment above storeValue(sp + 56, result); this.mem.setUint8(sp + 64, 1); } catch (err) { sp = this._inst.exports.getsp() >>> 0; // see comment above storeValue(sp + 56, err); this.mem.setUint8(sp + 64, 0); } },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 17:47:47 UTC 2023 - 16.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/configurationCache/problemsFixed/groovy/build.gradle
@InputDirectory abstract DirectoryProperty getSource() // <2> @OutputDirectory abstract DirectoryProperty getDestination() // <2> @Inject abstract FileSystemOperations getFs() // <3> @TaskAction void action() { fs.copy { // <3> from source into destination } } } tasks.register('someTask', MyCopyTask) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 617 bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java
@Input public abstract MapProperty<String, String> getReplacementTokens(); @Inject protected abstract FileSystemOperations getFs(); @TaskAction public void transform() { File destinationFile = getDestinationFile().get().getAsFile(); getFs().copy(copySpec -> { copySpec.from(getHtmlFile()); copySpec.into(destinationFile.getParentFile());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 28 06:35:15 UTC 2021 - 4.1K bytes - Viewed (0) -
pkg/kube/krt/bench_test.go
} })) c.handler = func(e krt.Event[Workload]) { events <- fmt.Sprintf(e.Latest().Name, e.Event) } go c.queue.Run(stop) } var nextIP = net.ParseIP("10.0.0.10") func GetIP() string { i := nextIP.To4() ret := i.String() v := uint(i[0])<<24 + uint(i[1])<<16 + uint(i[2])<<8 + uint(i[3]) v++ v3 := byte(v & 0xFF) v2 := byte((v >> 8) & 0xFF) v1 := byte((v >> 16) & 0xFF)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 7K bytes - Viewed (0) -
pkg/kubelet/util/manager/watch_based_manager_test.go
} return true, nil } if err := wait.PollImmediate(10*time.Millisecond, time.Second, getFn); err != nil { t.Errorf("unexpected error: %v", err) } // Eventually we should observer secret deletion. fakeWatch.Delete(secret) getFn = func() (bool, error) { _, err := store.Get("ns", "name") if err != nil { if apierrors.IsNotFound(err) { return true, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 10:05:43 UTC 2023 - 17.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/file/ArchiveOperationsIntegrationTest.groovy
@InputFile abstract RegularFileProperty getArchiveFile() @OutputDirectory abstract DirectoryProperty getUnpackDir() @Inject abstract FileSystemOperations getFs() @Inject abstract ArchiveOperations getArchives() @TaskAction void action() { fs.copy { from(archives.${archiveType}Tree(archiveFile))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 8.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskEncodingIntegrationSpec.groovy
given: def nonAsciiFileName = "القيادة والسيطرة - الإدارة.lnk" buildFile """ interface Services { @Inject FileSystemOperations getFs() } task copyFiles { def fs = objects.newInstance(Services).fs doLast { fs.copy { from 'res'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_data_optimization.cc
op.getLoc(), op.getType(), batchInputOp.getInputDataset(), batchInputOp.getOtherArguments(), op.getBatchSize(), num_parallel_calls_op.getY(), op.getDropRemainder(), batchInputOp.getF(), op.getOutputTypes(), op.getOutputShapes(), batchInputOp.getPreserveCardinality(), op.getMetadata()); rewriter.replaceOp(op, {fused_op.getHandle()}); return failure(); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 2.7K bytes - Viewed (0)