Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fnv1 (0.16 sec)

  1. pkg/kubelet/container/helpers.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package container
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"hash/fnv"
    	"strings"
    
    	"k8s.io/klog/v2"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/client-go/tools/record"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    			munmap(m.mapping)
    			m.mapping = nil
    		}
    		if m.f != nil {
    			m.f.Close() // best effort
    			m.f = nil
    		}
    	})
    }
    
    // hash returns the hash code for name.
    // The implementation is FNV-1a.
    // This hash function is a fixed detail of the file format.
    // It cannot be changed without also changing the file format version.
    func hash(name string) uint32 {
    	const (
    		offset32 = 2166136261
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top