Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestSmhasherText (0.53 sec)

  1. src/hash/maphash/smhasher_test.go

    				if i>>uint(j)&1 != 0 {
    					k.flipBit((j + r) % k.bits())
    				}
    			}
    			h.add(k.hash())
    		}
    		h.check(t)
    	}
    }
    
    // All keys of the form prefix + [A-Za-z0-9]*N + suffix.
    func TestSmhasherText(t *testing.T) {
    	if testing.Short() {
    		t.Skip("Skipping in short mode")
    	}
    	t.Parallel()
    	h := newHashSet()
    	text(t, h, "Foo", "Bar")
    	text(t, h, "FooBar", "")
    	text(t, h, "", "FooBar")
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/runtime/hash_test.go

    				if i>>uint(j)&1 != 0 {
    					k.flipBit((j + r) % k.bits())
    				}
    			}
    			h.add(k.hash())
    		}
    		h.check(t)
    	}
    }
    
    // All keys of the form prefix + [A-Za-z0-9]*N + suffix.
    func TestSmhasherText(t *testing.T) {
    	if testing.Short() {
    		t.Skip("Skipping in short mode")
    	}
    	t.Parallel()
    	h := newHashSet()
    	text(t, h, "Foo", "Bar")
    	text(t, h, "FooBar", "")
    	text(t, h, "", "FooBar")
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top