- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,541 for make (0.01 sec)
-
internal/ioutil/read_file.go
f, err := OsOpenFile(name, readMode, 0o666) if err != nil { return nil, nil, err } defer f.Close() st, err := f.Stat() if err != nil { return nil, nil, err } dst := make([]byte, st.Size()) _, err = io.ReadFull(f, dst) return dst, st, err } // ReadFile reads the named file and returns the contents. // A successful call returns err == nil, not err == EOF.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Dec 09 18:17:51 UTC 2023 - 2.3K bytes - Viewed (0) -
internal/s3select/sql/utils.go
package sql import ( "fmt" "strings" ) // String functions // String - returns the JSONPath representation func (e *JSONPath) String() string { if len(e.pathString) == 0 { parts := make([]string, len(e.PathExpr)+1) parts[0] = e.BaseKey.String() for i, pe := range e.PathExpr { parts[i+1] = pe.String() } e.pathString = strings.Join(parts, "") } return e.pathString }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Nov 10 16:12:50 UTC 2021 - 3.6K bytes - Viewed (0) -
cmd/tier_gen.go
case "Tiers": var zb0002 uint32 zb0002, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err, "Tiers") return } if z.Tiers == nil { z.Tiers = make(map[string]madmin.TierConfig, zb0002) } else if len(z.Tiers) > 0 { clear(z.Tiers) } for zb0002 > 0 { zb0002-- var za0001 string za0001, err = dc.ReadString() if err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 3.9K bytes - Viewed (0) -
docs/debugging/hash-set/main.go
// in the slices returned. func hashOrder(key string, cardinality int) []int { if cardinality <= 0 { // Returns an empty int slice for cardinality < 0. return nil } nums := make([]int, cardinality) keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable) start := int(keyCrc % uint32(cardinality)) for i := 1; i <= cardinality; i++ { nums[i-1] = 1 + ((start + i) % cardinality) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
.teamcity/README.md
There are 3 subprojects in the TeamCity project hierarchy: `Check` for Gradle builds, `Promotion` for releasing Gradle versions, `Util` for miscellaneous utilities. ## Develop and verify After you make a change, you can run `mvn clean teamcity-configs:generate` to generate and verify the generated TeamCity configuration XMLs. You also need to run `mvn clean verify` with Java 8 before committing changes.
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Mar 06 23:02:25 UTC 2024 - 4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/BucketExtensions.kt
} } /** * Determine the number of buckets for the first element in the list * when it needs to be split into several smaller pieces. * * The basic idea is: * 1. Make sure the rest elements has at least one bucket. * 2. Make sure the "roughSizeOfEachBucket" for the rest elements is smaller than the current "roughSizeOfEachBucket". */ private fun <T> determineBucketNumberForLargeElment( largestElementSize: Int,
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Feb 12 09:12:03 UTC 2025 - 5.7K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java
// for technical reasons we cannot throw here, even if delegate does cancel transfer listener.transferInitiated(event(session, resource, TransferEvent.EventType.INITIATED)); Thread.sleep(500); // to make sure queue is processed, cancellation applied // subsequent call will cancel assertThrows( TransferCancelledException.class,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Dec 01 19:41:22 UTC 2024 - 5K bytes - Viewed (0) -
misc/ios/README
all.bash on the iOS emulator: GOOS=ios GOARCH=amd64 CGO_ENABLED=1 CC_FOR_TARGET=$(pwd)/../misc/ios/clangwrap.sh ./all.bash If CC_FOR_TARGET is not set when the toolchain is built (make.bash or all.bash), CC can be set on the command line. For example, GOOS=ios GOARCH=amd64 CGO_ENABLED=1 CC=$(go env GOROOT)/misc/ios/clangwrap.sh go build
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Dec 29 21:49:26 UTC 2020 - 2.7K bytes - Viewed (0) -
internal/config/crypto_test.go
}{ { Data: nil, Context: nil, }, { Data: []byte{1}, Context: nil, }, { Data: []byte{1}, Context: kms.Context{"key": "value"}, }, { Data: make([]byte, 1<<20), Context: kms.Context{"key": "value", "a": "b"}, }, } func TestEncryptDecrypt(t *testing.T) { key, err := hex.DecodeString("ddedadb867afa3f73bd33c25499a723ed7f9f51172ee7b1b679e08dc795debcc")Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.2K bytes - Viewed (0) -
ci/official/containers/ml_build/README.md
/tensorflow/tools/tf_sig_build_dockerfiles/. However, since hermetic CUDA and hermetic Python is now available for Tensorflow, a lot of the requirements installed on the original container can be removed to reduce the footprint of the container and make it more reusable across different ML
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Tue Sep 24 20:45:58 UTC 2024 - 416 bytes - Viewed (0)