Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for hm (0.02 sec)

  1. src/crypto/hmac/hmac.go

    	copy(hm.opad, key)
    	for i := range hm.ipad {
    		hm.ipad[i] ^= 0x36
    	}
    	for i := range hm.opad {
    		hm.opad[i] ^= 0x5c
    	}
    	hm.inner.Write(hm.ipad)
    
    	return hm
    }
    
    // Equal compares two MACs for equality without leaking timing information.
    func Equal(mac1, mac2 []byte) bool {
    	// We don't have to be constant time if the lengths of the MACs are
    	// different as that suggests that a completely different hash function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. pkg/kube/kclient/delayed.go

    	if c := s.inf.Load(); c != nil {
    		(*c).ShutdownHandlers()
    	} else {
    		s.hm.Lock()
    		defer s.hm.Unlock()
    		s.handlers = nil
    	}
    }
    
    func (s *delayedClient[T]) Start(stop <-chan struct{}) {
    	if c := s.inf.Load(); c != nil {
    		(*c).Start(stop)
    	}
    	s.hm.Lock()
    	defer s.hm.Unlock()
    	s.started = stop
    }
    
    var _ Informer[controllers.Object] = &delayedClient[controllers.Object]{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 31 02:32:59 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cache.go

    		m := collectLocalMetrics(types, collectMetricsOpts{
    			hosts: map[string]struct{}{
    				globalLocalNodeName: {},
    			},
    		})
    
    		for _, hm := range m.ByHost {
    			if hm.Mem != nil && len(hm.Mem.Info.Addr) > 0 {
    				v = hm.Mem.Info
    				break
    			}
    		}
    
    		return
    	}
    
    	return cachevalue.NewFromFunc(1*time.Minute,
    		cachevalue.Opts{ReturnLastGood: true},
    		loadMemoryMetrics)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. cmd/metrics-resource.go

    	var types madmin.MetricType = madmin.MetricsDisk | madmin.MetricNet | madmin.MetricsMem | madmin.MetricsCPU
    
    	m := collectLocalMetrics(types, collectMetricsOpts{})
    	for _, hm := range m.ByHost {
    		if hm.Net != nil && len(hm.Net.NetStats.Name) > 0 {
    			stats := hm.Net.NetStats
    			labels := map[string]string{"interface": stats.Name}
    			updateResourceMetrics(interfaceSubsystem, interfaceRxBytes, float64(stats.RxBytes), labels, true)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/main/resources/org/gradle/ide/visualstudio/tasks/internal/default.vcxproj.filters

          </Filter>
          <Filter Include="Header Files">
            <!-- if you would like to add more endings to this pattern, make sure to also edit DefaultCppLibrary.java and DefaultCppComponent.java-->
            <Extensions>h;hpp;h++;hxx;hm;inl;inc;xsd</Extensions>
          </Filter>
          <Filter Include="Resource Files">
            <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
          </Filter>
        </ItemGroup>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 04:34:07 UTC 2023
    - 808 bytes
    - Viewed (0)
  6. src/cmd/trace/jsontrace_test.go

    		}
    	}
    	return
    }
    
    func checkPlausibleHeapMetrics(t *testing.T, data format.Data) {
    	hms := heapMetrics(data)
    	var nonZeroAllocated, nonZeroNextGC bool
    	for _, hm := range hms {
    		if hm.Allocated > 0 {
    			nonZeroAllocated = true
    		}
    		if hm.NextGC > 0 {
    			nonZeroNextGC = true
    		}
    	}
    
    	if !nonZeroAllocated {
    		t.Errorf("nonZeroAllocated=%v, want true", nonZeroAllocated)
    	}
    	if !nonZeroNextGC {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/profile/filter.go

    // tags that match show and not hide.
    func (p *Profile) FilterTagsByName(show, hide *regexp.Regexp) (sm, hm bool) {
    	matchRemove := func(name string) bool {
    		matchShow := show == nil || show.MatchString(name)
    		matchHide := hide != nil && hide.MatchString(name)
    
    		if matchShow {
    			sm = true
    		}
    		if matchHide {
    			hm = true
    		}
    		return !matchShow || matchHide
    	}
    	for _, s := range p.Sample {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  8. src/math/big/ftoa.go

    	case w > n:
    		m = nat(nil).shr(m, w-n)
    	}
    	exp64 := int64(x.exp) - 1 // avoid wrap-around
    
    	hm := m.utoa(16)
    	if debugFloat && hm[0] != '1' {
    		panic("incorrect mantissa: " + string(hm))
    	}
    	buf = append(buf, "0x1"...)
    	if len(hm) > 1 {
    		buf = append(buf, '.')
    		buf = append(buf, hm[1:]...)
    	}
    
    	buf = append(buf, 'p')
    	if exp64 >= 0 {
    		buf = append(buf, '+')
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  9. cmd/signature-v2.go

    		return ErrSignatureDoesNotMatch
    	}
    	return ErrNone
    }
    
    func calculateSignatureV2(stringToSign string, secret string) string {
    	hm := hmac.New(sha1.New, []byte(secret))
    	hm.Write([]byte(stringToSign))
    	return base64.StdEncoding.EncodeToString(hm.Sum(nil))
    }
    
    // Return signature-v2 for the presigned request.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/driver_focus.go

    	prunefrom, err := compileRegexOption("prune_from", cfg.PruneFrom, err)
    	if err != nil {
    		return err
    	}
    
    	fm, im, hm, hnm := prof.FilterSamplesByName(focus, ignore, hide, show)
    	warnNoMatches(focus == nil || fm, "Focus", ui)
    	warnNoMatches(ignore == nil || im, "Ignore", ui)
    	warnNoMatches(hide == nil || hm, "Hide", ui)
    	warnNoMatches(show == nil || hnm, "Show", ui)
    
    	sfm := prof.ShowFrom(showfrom)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 23:33:06 UTC 2020
    - 6.4K bytes
    - Viewed (0)
Back to top