- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,241 for block1 (0.28 sec)
-
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/streams/DefaultValueStoreTest.groovy
} def "can write and then read a block multiple times"() { expect: def block = write("test") read(block) == "test" read(block) == "test" read(block) == "test" } def "can write multiple blocks and read in any order"() { expect: def block1 = write("test 1") def block2 = write("test 2") def block3 = write("test 3")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ConcurrentBuildsArtifactTransformIntegrationTest.groovy
def block1 = server.expectAndBlock("block1") def block2 = server.expectAndBlock("block2") when: // Block until first build has produced red things def build1 = executer.withTasks("redThings", "block1", "blueThings").start() block1.waitForAllPendingCalls() // Block until second build has produced blue things def build2 = executer.withTasks("redThings", "blueThings", "block2").start()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingIntegrationTest.groovy
task b { def files = configurations.b doLast { files.files } } task block1 { doLast { ${blockingServer.callFromBuild("block1")} } } block1.mustRunAfter a b.mustRunAfter block1 task block2 { doLast { ${blockingServer.callFromBuild("block2")} } } block2.mustRunAfter b """ // Ensure scripts are compiled run("help") expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/dependency-management/src/crossVersionTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingCrossVersionIntegrationTest.groovy
} } task block1 { dependsOn tasks.a onlyIf { project.hasProperty("enable-block1") } doLast { ${blockingServer.callFromBuild("block1")} } } task b { dependsOn tasks.block1 doLast { configurations.b.files } } task block2 { dependsOn tasks.b onlyIf { project.hasProperty("enable-block2") } doLast {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.9K bytes - Viewed (0) -
src/crypto/des/block.go
b1 = block & 0x0f0f00000f0f0000 b2 = block & 0x0000f0f00000f0f0 block ^= b1 ^ b2 ^ b1>>12 ^ b2<<12 b1 = block >> 32 & 0xff00ff b2 = (block & 0xff00ff00) block ^= b1<<32 ^ b2 ^ b1<<8 ^ b2<<24 b1 = block >> 48 b2 = block << 48 block ^= b1 ^ b2 ^ b1<<48 ^ b2>>48 return block } // creates 16 28-bit blocks rotated according // to the rotation schedule.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 6.5K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/Block.java
* limitations under the License. */ package org.gradle.cache.internal.btree; public abstract class Block { static final int LONG_SIZE = 8; static final int INT_SIZE = 4; static final int SHORT_SIZE = 2; private BlockPayload payload; protected Block(BlockPayload payload) { this.payload = payload; payload.setBlock(this); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.6K bytes - Viewed (0) -
src/crypto/aes/block.go
// https://csrc.nist.gov/csrc/media/publications/fips/197/final/documents/fips-197.pdf // https://csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf package aes import "internal/byteorder" // Encrypt one block from src into dst, using the expanded key xk. func encryptBlockGo(xk []uint32, dst, src []byte) { _ = src[15] // early bounds check s0 := byteorder.BeUint32(src[0:4]) s1 := byteorder.BeUint32(src[4:8])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 6.4K bytes - Viewed (0) -
src/crypto/cipher/cbc.go
} // NewCBCEncrypter returns a BlockMode which encrypts in cipher block chaining // mode, using the given Block. The length of iv must be the same as the // Block's block size. func NewCBCEncrypter(b Block, iv []byte) BlockMode { if len(iv) != b.BlockSize() { panic("cipher.NewCBCEncrypter: IV length must equal block size") } if cbc, ok := b.(cbcEncAble); ok { return cbc.NewCBCEncrypter(iv) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 03:55:33 UTC 2022 - 5.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Locks.kt
import okhttp3.internal.http2.Http2Stream import okhttp3.internal.http2.Http2Writer /** * Centralisation of central locks according to docs/contribute/concurrency.md */ internal object Locks { inline fun <T> Dispatcher.withLock(action: () -> T): T { contract { callsInPlace(action, InvocationKind.EXACTLY_ONCE) } return lock.withLock(action) } inline fun <T> RealConnection.withLock(action: () -> T): T {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 2.1K bytes - Viewed (0) -
src/internal/trace/traceviewer/pprof.go
} blockb := bufio.NewWriter(blockf) if err := BuildProfile(records).Write(blockb); err != nil { http.Error(w, fmt.Sprintf("failed to write profile: %v", err), http.StatusInternalServerError) return } if err := blockb.Flush(); err != nil { http.Error(w, fmt.Sprintf("failed to flush temp file: %v", err), http.StatusInternalServerError) return } if err := blockf.Close(); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:28:02 UTC 2023 - 4K bytes - Viewed (0)