Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for firstSet (0.16 sec)

  1. src/cmd/go/internal/telemetrystats/version_unix.go

    	telemetry.Inc(fmt.Sprintf("go/platform/host/%s/version:%s-%s", runtime.GOOS, major, minor))
    }
    
    func majorMinor(v string) (string, string, bool) {
    	firstDot := strings.Index(v, ".")
    	if firstDot < 0 {
    		return "", "", false
    	}
    	major := v[:firstDot]
    	v = v[firstDot+len("."):]
    	endMinor := strings.IndexAny(v, ".-_")
    	if endMinor < 0 {
    		endMinor = len(v)
    	}
    	minor := v[:endMinor]
    	return major, minor, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 15:44:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/trace/jsontrace.go

    			var firstEv *trace.Event
    			if task.Start != nil {
    				firstEv = task.Start
    			} else {
    				for _, logEv := range task.Logs {
    					if firstEv == nil || logEv.Time() < firstEv.Time() {
    						firstEv = logEv
    					}
    				}
    				if task.End != nil && (firstEv == nil || task.End.Time() < firstEv.Time()) {
    					firstEv = task.End
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

      public void testSingletonMapFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapLast() {
        assertEquals(a.getKey(), navigableMap.lastKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

      public void testSingletonMapFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapLast() {
        assertEquals(a.getKey(), navigableMap.lastKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

            delegate().clear();
          }
        };
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
        return delegate.firstEntry();
      }
    
      @Override
      public K firstKey() {
        return delegate.firstKey();
      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return delegate.floorEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K floorKey(K key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm64/list7.go

    	// ARM64 register list follows ARM64 instruction decode schema
    	// | 31 | 30 | ... | 15 - 12 | 11 - 10 | ... |
    	// +----+----+-----+---------+---------+-----+
    	// |    | Q  | ... | opcode  |   size  | ... |
    
    	firstReg := int(list & 31)
    	opcode := (list >> 12) & 15
    	var regCnt int
    	var t string
    	switch opcode {
    	case 0x7:
    		regCnt = 1
    	case 0xa:
    		regCnt = 2
    	case 0x6:
    		regCnt = 3
    	case 0x2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

            delegate().clear();
          }
        };
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
        return delegate.firstEntry();
      }
    
      @Override
      public K firstKey() {
        return delegate.firstKey();
      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return delegate.floorEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K floorKey(K key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. platforms/software/reporting/src/main/java/org/gradle/api/reporting/internal/DefaultReportContainer.java

        @Nullable
        @Internal
        public T getFirstEnabled() {
            SortedMap<String, T> map = enabled.getAsMap();
            if (map.isEmpty()) {
                return null;
            } else {
                return map.get(map.firstKey());
            }
        }
    
        protected <N extends T> N add(Class<N> clazz, Object... constructionArgs) {
            N report = getInstantiator().newInstance(clazz, constructionArgs);
            String name = report.getName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top