Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 782 for entryAt (0.14 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/counter/parse.go

    			return corrupt()
    		}
    		f.Meta[k] = v
    	}
    
    	for i := uint32(0); i < numHash; i++ {
    		headOff := hdrLen + hashOff + i*4
    		head := m.load32(headOff)
    		off := head
    		for off != 0 {
    			ename, next, v, ok := m.entryAt(off)
    			if !ok {
    				return corrupt()
    			}
    			if _, ok := f.Count[string(ename)]; ok {
    				return corrupt()
    			}
    			ctrName := DecodeStack(string(ename))
    			f.Count[ctrName] = v.Load()
    			off = next
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 14:38:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    		panic("bad cas32") // return false would probably loop
    	}
    	return (*atomic.Uint32)(unsafe.Pointer(&m.mapping.Data[off])).CompareAndSwap(old, new)
    }
    
    func (m *mappedFile) entryAt(off uint32) (name []byte, next uint32, v *atomic.Uint64, ok bool) {
    	if off < m.hdrLen+hashOff || int64(off)+16 > int64(len(m.mapping.Data)) {
    		return nil, 0, nil, false
    	}
    	nameLen := m.load32(off+8) & 0x00ffffff
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. internal/logger/message/audit/entry.go

    	entry := NewEntry(deploymentID)
    
    	entry.RemoteHost = handlers.GetSourceIP(r)
    	entry.UserAgent = r.UserAgent()
    	entry.ReqClaims = reqClaims
    	entry.ReqHost = r.Host
    	entry.ReqPath = r.URL.Path
    
    	q := r.URL.Query()
    	reqQuery := make(map[string]string, len(q))
    	for k, v := range q {
    		reqQuery[k] = strings.Join(v, ",")
    	}
    	entry.ReqQuery = reqQuery
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

        Set<Entry<K, V>> entrySet = getMap().entrySet();
        Iterator<Entry<K, V>> entryItr = entrySet.iterator();
        assertEquals(e0(), entryItr.next());
        entryItr.remove();
        assertTrue(getMap().isEmpty());
        assertFalse(entrySet.contains(e0()));
      }
    
      public void testContainsEntryWithIncomparableKey() {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

        Set<Entry<K, V>> entrySet = getMap().entrySet();
        Iterator<Entry<K, V>> entryItr = entrySet.iterator();
        assertEquals(e0(), entryItr.next());
        entryItr.remove();
        assertTrue(getMap().isEmpty());
        assertFalse(entrySet.contains(e0()));
      }
    
      public void testContainsEntryWithIncomparableKey() {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

                  return ((Comparable) o1).compareTo(o2);
                }
              };
        }
        Iterator<Entry<K, V>> entryItr = navigableMap.entrySet().iterator();
        Entry<K, V> prevEntry = entryItr.next();
        while (entryItr.hasNext()) {
          Entry<K, V> nextEntry = entryItr.next();
          assertTrue(comparator.compare(prevEntry.getKey(), nextEntry.getKey()) < 0);
          prevEntry = nextEntry;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

      /**
       * Returns an immutable set of the mappings in this map. The iteration order is specified by the
       * method used to create this map. Typically, this is insertion order.
       */
      @Override
      public ImmutableSet<Entry<K, V>> entrySet() {
        ImmutableSet<Entry<K, V>> result = entrySet;
        return (result == null) ? entrySet = createEntrySet() : result;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

                  return ((Comparable) o1).compareTo(o2);
                }
              };
        }
        Iterator<Entry<K, V>> entryItr = navigableMap.entrySet().iterator();
        Entry<K, V> prevEntry = entryItr.next();
        while (entryItr.hasNext()) {
          Entry<K, V> nextEntry = entryItr.next();
          assertTrue(comparator.compare(prevEntry.getKey(), nextEntry.getKey()) < 0);
          prevEntry = nextEntry;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSortedMap.java

          K k9,
          V v9,
          K k10,
          V v10) {
        return fromEntries(
            entryOf(k1, v1),
            entryOf(k2, v2),
            entryOf(k3, v3),
            entryOf(k4, v4),
            entryOf(k5, v5),
            entryOf(k6, v6),
            entryOf(k7, v7),
            entryOf(k8, v8),
            entryOf(k9, v9),
            entryOf(k10, v10));
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        assertEquals(expectedSize, multimap.size());
    
        int size = 0;
        for (Entry<K, V> entry : multimap.entries()) {
          assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
          size++;
        }
        assertEquals(expectedSize, size);
    
        int size2 = 0;
        for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) {
          size2 += entry2.getValue().size();
        }
        assertEquals(expectedSize, size2);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top