- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 125 for maskstr (0.14 sec)
-
src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules
// The upper bits of the smaller than register values is undefined. Take advantage of that. (AND <t> x:(MOVDconst [m]) n) && t.Size() <= 2 => (ANDconst [int64(int16(m))] n) // Convert simple bit masks to an equivalent rldic[lr] if possible. (AND x:(MOVDconst [m]) n) && isPPC64ValidShiftMask(m) => (RLDICL [encodePPC64RotateMask(0,m,64)] n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/cc/saved_model/testdata/generate_chunked_models.py
def generate_chunked_model(non_chunked_dir: str, chunked_dir: str): saved_model = loader_impl.parse_saved_model(non_chunked_dir) prefix = file_io.join(compat.as_str(chunked_dir), "saved_model") file_io.write_string_to_file(f"{prefix}.pbtxt", str(saved_model)) proto_splitter.SavedModelSplitter(saved_model).write(prefix) def main(argv: Sequence[str]) -> None: if len(argv) > 1:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 21:43:11 UTC 2023 - 2.8K bytes - Viewed (0) -
test/fixedbugs/issue30606b.go
func main() {} func typ(x interface{}) reflect.Type { return reflect.ValueOf(x).Type() } var byteType = typ((byte)(0)) var ptrType = typ((*byte)(nil)) // Arrays of pointers. There are two size thresholds. // Bit masks are chunked in groups of 120 pointers. // Array types with >16384 pointers have a GC program instead of a bitmask. var smallPtrType = reflect.ArrayOf(100, ptrType) var mediumPtrType = reflect.ArrayOf(1000, ptrType)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 00:06:12 UTC 2019 - 1.5K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/util/internal/AntUtil.java
project.getBaseDir(); return project; } public static void execute(Task task) { task.setProject(createProject()); task.execute(); } /** * Masks a string against Ant property expansion. * This needs to be used when adding a File as String property * via {@link groovy.ant.AntBuilder}. * @param string to mask * @return The masked String */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:48 UTC 2021 - 1.9K bytes - Viewed (0) -
src/compress/bzip2/bit_reader.go
// 0101101101001110 // ^ ^ // |------------| // br.bits (num valid bits) // // The next line right shifts the desired bits into the // least-significant places and masks off anything above. n = (br.n >> (br.bits - bits)) & ((1 << bits) - 1) br.bits -= bits return } func (br *bitReader) ReadBits(bits uint) (n int) { n64 := br.ReadBits64(bits) return int(n64) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 23:20:03 UTC 2023 - 2K bytes - Viewed (0) -
src/crypto/rand/rand_unix.go
if err != nil { r.mu.Unlock() return 0, err } r.f = hideAgainReader{f} r.used.Store(2) } r.mu.Unlock() } return io.ReadFull(r.f, b) } // hideAgainReader masks EAGAIN reads from /dev/urandom. // See golang.org/issue/9205 type hideAgainReader struct { r io.Reader } func (hr hideAgainReader) Read(p []byte) (n int, err error) { n, err = hr.r.Read(p)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 01 08:32:46 UTC 2022 - 1.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
private val sinkBuffer: Buffer = sink.buffer private var writerClosed = false /** Lazily initialized on first use. */ private var messageDeflater: MessageDeflater? = null // Masks are only a concern for client writers. private val maskKey: ByteArray? = if (isClient) ByteArray(4) else null private val maskCursor: Buffer.UnsafeCursor? = if (isClient) Buffer.UnsafeCursor() else null
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
src/internal/bytealg/indexbyte_arm64.s
CBZ R2, fail MOVD R0, R11 // Magic constant 0x40100401 allows us to identify // which lane matches the requested byte. // 0x40100401 = ((1<<0) + (4<<8) + (16<<16) + (64<<24)) // Different bytes have different bit masks (i.e: 1, 4, 16, 64) MOVD $0x40100401, R5 VMOV R1, V0.B16 // Work with aligned 32-byte chunks BIC $0x1f, R0, R3 VMOV R5, V5.S4 ANDS $0x1f, R0, R9 AND $0x1f, R2, R10 BEQ loop
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 08 20:52:47 UTC 2018 - 3.3K bytes - Viewed (0) -
src/unicode/graphic.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package unicode // Bit masks for each code point under U+0100, for fast lookup. const ( pC = 1 << iota // a control character. pP // a punctuation character. pN // a numeral. pS // a symbolic character.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 20:02:46 UTC 2023 - 4.4K bytes - Viewed (0) -
src/os/signal/signal_cgo_test.go
// read. // // These steps are complicated by the rules around foreground process // groups. A process group cannot be foreground if it is "orphaned", // unless it masks SIGTTOU. i.e., to be foreground the process group // must have a parent process group in the same session or mask SIGTTOU // (which we do). An orphaned process group cannot receive // terminal-generated SIGTSTP at all. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 10:09:15 UTC 2024 - 10.7K bytes - Viewed (0)