Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for fn (0.14 sec)

  1. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        hasher = HASH_FN.newHasher();
        hasher.putBytes(new byte[] {0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00});
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putLong(0x0000000001000101L);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putShort((short) 0x0101)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 6.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

      }
    
      public void testStringsConsistency() {
        for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) {
          assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s));
        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
        char[] charsB = new char[128];
    
        for (int i = 0; i < charsA.length; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue1435.go

    	vs := []struct {
    		call           string
    		fn             func() error
    		filter, expect string
    	}{
    		{call: "Setegid(1)", fn: func() error { return syscall.Setegid(1) }, filter: "Gid:", expect: "\t0\t1\t0\t1"},
    		{call: "Setegid(0)", fn: func() error { return syscall.Setegid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

      }
    
      public void testStringsConsistency() {
        for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) {
          assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s));
        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
        char[] charsB = new char[128];
    
        for (int i = 0; i < charsA.length; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

                        // fail if already exists
                        openFunction = OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS;
                    } else {
                        openFunction = OPEN_FN_CREATE | OPEN_FN_OPEN;
                    }
                } else {
                    openFunction = OPEN_FN_OPEN;
                }
            }
        }
    
        int getBatchLimit( byte command ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.7K bytes
    - Viewed (0)
  6. common/scripts/fix_copyright_banner.sh

    set -e
    
    WD=$(dirname "$0")
    WD=$(cd "$WD"; pwd)
    
    for fn in "$@"; do
      if ! grep -L -q -e "Apache License, Version 2" -e "Copyright" "${fn}"; then
        if [[ "${fn}" == *.go || "${fn}" == *.rs ]]; then
          newfile=$(cat "${WD}/copyright-banner-go.txt" "${fn}")
          echo "${newfile}" > "${fn}"
          echo "Fixing license: ${fn}"
        else
          echo "Cannot fix license: ${fn}. Unknown file type"
        fi
      fi
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 17 04:35:57 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

                        // fail if already exists
                        this.openFunction = OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS;
                    }
                    else {
                        this.openFunction = OPEN_FN_CREATE | OPEN_FN_OPEN;
                    }
                }
                else {
                    this.openFunction = OPEN_FN_OPEN;
                }
            }
        }
    
    
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  8. common/scripts/lint_copyright_banner.sh

    # limitations under the License.
    
    set -e
    
    ec=0
    for fn in "$@"; do
      if ! grep -L -q -e "Apache License, Version 2" "${fn}"; then
        echo "Missing license: ${fn}"
        ec=1
      fi
    
      if ! grep -L -q -e "Copyright" "${fn}"; then
        echo "Missing copyright: ${fn}"
        ec=1
      fi
    done
    
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Sep 11 23:32:21 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        hasher = HASH_FN.newHasher();
        hasher.putBytes(new byte[] {0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00});
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putLong(0x0000000001000101L);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putShort((short) 0x0101)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 15:56:47 GMT 2017
    - 6.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/unified_api_testutil.cc

        }
    
        AbstractOperationPtr fn_op(ctx->CreateOperation());
        TF_RETURN_IF_ERROR(fn_op->Reset(fn_name, /*raw_device_name=*/nullptr));
        for (auto input : inputs) {
          TF_RETURN_IF_ERROR(fn_op->AddInput(input));
        }
        int retvals = outputs.size() - null_indices.size();
        std::vector<AbstractTensorHandle*> fn_outputs(retvals);
        TF_RETURN_IF_ERROR(fn_op->Execute(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top