Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,007 for isDead (0.12 sec)

  1. src/internal/coverage/test/counter_test.go

    		PkgIdx:   p,
    		FuncIdx:  f,
    		Counters: c,
    	}
    }
    
    func TestCounterDataWriterReader(t *testing.T) {
    	flavors := []coverage.CounterFlavor{
    		coverage.CtrRaw,
    		coverage.CtrULeb128,
    	}
    
    	isDead := func(fp decodecounter.FuncPayload) bool {
    		for _, v := range fp.Counters {
    			if v != 0 {
    				return false
    			}
    		}
    		return true
    	}
    
    	funcs := []decodecounter.FuncPayload{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 26 12:44:34 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    //     // No matter what, fclose(fp) will happen.
    //     DataObject d;
    //     while (ReadDataObject(fp, &d)) {
    //       if (d.IsBad()) {
    //         LOG(ERROR) << "Bad Data";
    //         return;
    //       }
    //       PushGoodData(d);
    //     }
    //   }
    //
    // You can use Cleanup<F> directly, instead of using MakeCleanup and auto,
    // but there's rarely a reason to do that.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 09 11:16:00 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KotlinFirReferenceContributor.kt

                        ReferenceAccess.WRITE -> arrayOf(KaFirSimpleNameReference(nameReferenceExpression, isRead = false))
                        ReferenceAccess.READ_WRITE -> arrayOf(
                            KaFirSimpleNameReference(nameReferenceExpression, isRead = true),
                            KaFirSimpleNameReference(nameReferenceExpression, isRead = false),
                        )
                    }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultConfigurableUserClassFilePermissions.java

        @Inject
        public DefaultConfigurableUserClassFilePermissions(int unixNumeric) {
            setRead(isRead(unixNumeric));
            setWrite(isWrite(unixNumeric));
            setExecute(isExecute(unixNumeric));
        }
    
        @Override
        public void unix(String unixSymbolic) {
            setRead(isRead(unixSymbolic));
            setWrite(isWrite(unixSymbolic));
            setExecute(isExecute(unixSymbolic));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/crypto/tls/cipher_suites.go

    	return false
    }
    
    func cipherRC4(key, iv []byte, isRead bool) any {
    	cipher, _ := rc4.NewCipher(key)
    	return cipher
    }
    
    func cipher3DES(key, iv []byte, isRead bool) any {
    	block, _ := des.NewTripleDESCipher(key)
    	if isRead {
    		return cipher.NewCBCDecrypter(block, iv)
    	}
    	return cipher.NewCBCEncrypter(block, iv)
    }
    
    func cipherAES(key, iv []byte, isRead bool) any {
    	block, _ := aes.NewCipher(key)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. src/testing/fuzz.go

    	Values     []any
    	Generation int
    	IsSeed     bool
    }
    
    // Helper marks the calling function as a test helper function.
    // When printing file and line information, that function will be skipped.
    // Helper may be called simultaneously from multiple goroutines.
    func (f *F) Helper() {
    	if f.inFuzzFn {
    		panic("testing: f.Helper was called inside the fuzz target, use t.Helper instead")
    	}
    
    	// common.Helper is inlined here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractUserClassFilePermissions.java

         */
        protected int toUnixNumeric() {
            return (getRead() ? 4 : 0) + (getWrite() ? 2 : 0) + (getExecute() ? 1 : 0);
        }
    
        protected static boolean isRead(int unixNumeric) {
            return (unixNumeric & 4) >> 2 == 1;
        }
    
        protected static boolean isRead(String unixSymbolic) {
            char symbol = unixSymbolic.charAt(0);
            if (symbol == 'r') {
                return true;
            } else if (symbol == '-') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. src/syscall/bpf_bsd.go

    	"unsafe"
    )
    
    // Deprecated: Use golang.org/x/net/bpf instead.
    func BpfStmt(code, k int) *BpfInsn {
    	return &BpfInsn{Code: uint16(code), K: uint32(k)}
    }
    
    // Deprecated: Use golang.org/x/net/bpf instead.
    func BpfJump(code, k, jt, jf int) *BpfInsn {
    	return &BpfInsn{Code: uint16(code), Jt: uint8(jt), Jf: uint8(jf), K: uint32(k)}
    }
    
    // Deprecated: Use golang.org/x/net/bpf instead.
    func BpfBuflen(fd int) (int, error) {
    	var l int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. src/sync/atomic/doc.go

    func LoadUint32(addr *uint32) (val uint32)
    
    // LoadUint64 atomically loads *addr.
    // Consider using the more ergonomic and less error-prone [Uint64.Load] instead
    // (particularly if you target 32-bit platforms; see the bugs section).
    func LoadUint64(addr *uint64) (val uint64)
    
    // LoadUintptr atomically loads *addr.
    // Consider using the more ergonomic and less error-prone [Uintptr.Load] instead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/text/unicode/norm/forminfo.go

    // a rune to a uint16. The values take two forms.  For v >= 0x8000:
    //   bits
    //   15:    1 (inverse of NFD_QC bit of qcInfo)
    //   13..7: qcInfo (see below). isYesD is always true (no decomposition).
    //    6..0: ccc (compressed CCC value).
    // For v < 0x8000, the respective rune has a decomposition and v is an index
    // into a byte array of UTF-8 decomposition sequences and additional info and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top