Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1971 - 1980 of 2,181 for Text (0.05 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

     * (like 0030..0039).
     *
     * The second element on each line is a mapping type, like `valid` or `mapped`.
     *
     * For lines that contain a mapping target, the next thing is a sequence of hex code points (like
     * 0031 2044 0034).
     *
     * All other data is ignored.
     */
    fun BufferedSource.readPlainTextIdnaMappingTable(): SimpleIdnaMappingTable {
      val mappedTo = Buffer()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

            ConcurrentModificationException.class,
            () -> {
              Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
              putAll(MinimalCollection.of(e3(), e0()));
              iterator.next();
            });
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutAll_unsupportedSomePresent() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingSortedSet.java

          SortedSet<@Nullable Object> self = (SortedSet<@Nullable Object>) this;
          Iterator<?> iterator = self.tailSet(object).iterator();
          if (iterator.hasNext()) {
            Object ceiling = iterator.next();
            if (unsafeCompare(comparator(), ceiling, object) == 0) {
              iterator.remove();
              return true;
            }
          }
        } catch (ClassCastException | NullPointerException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate.go

    				un.GetKind(), un.GetNamespace(), un.GetName())))
    		}
    	}
    }
    
    func isFileFormatValid(file string) bool {
    	ext := filepath.Ext(file)
    	return slices.Contains(fileExtensions, ext)
    }
    
    func validateFiles(istioNamespace *string, defaultNamespace string, filenames []string, writer io.Writer) error {
    	if len(filenames) == 0 {
    		return errMissingFilename
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileLocationTest.java

            public long getExpiration () {
                return 0;
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#next()
             */
            @Override
            public DfsReferralData next () {
                return this;
            }
    
        }
    
    
        /**
         * @return
         * @throws CIFSException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

      public E higher(E e) {
        return Iterables.<@Nullable E>getFirst(tailSet(e, false), null);
      }
    
      @Override
      public E first() {
        return iterator().next();
      }
    
      @Override
      public E last() {
        return descendingIterator().next();
      }
    
      /**
       * Guaranteed to throw an exception and leave the set unmodified.
       *
       * @since 12.0
       * @throws UnsupportedOperationException always
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

          }
        }
    
        @Override
        public boolean hasNext() {
          checkForConcurrentModification();
          return entryIndex >= 0;
        }
    
        @Override
        @ParametricNullness
        public T next() {
          if (!hasNext()) {
            throw new NoSuchElementException();
          }
          T result = result(entryIndex);
          toRemove = entryIndex;
          entryIndex = backingMap.nextIndex(entryIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        if (e is ProtocolException) {
          return false
        }
    
        // If there was an interruption don't recover, but if there was a timeout connecting to a route
        // we should try the next route (if there is one).
        if (e is InterruptedIOException) {
          return e is SocketTimeoutException && !requestSendStarted
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. internal/dsync/drwmutex_test.go

    }
    
    // Borrowed from rwmutex_test.go
    func benchmarkRWMutex(b *testing.B, localWork, writeRatio int) {
    	b.ResetTimer()
    	b.ReportAllocs()
    
    	b.RunParallel(func(pb *testing.PB) {
    		foo := 0
    		for pb.Next() {
    			rwm := NewDRWMutex(ds, "test")
    			foo++
    			if foo%writeRatio == 0 {
    				rwm.Lock(id, source)
    				rwm.Unlock(context.Background())
    			} else {
    				rwm.RLock(id, source)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        if (map.containsKey(key)) {
          // When a collision happens, the colliding entry is the first entry
          // of the tail map.
          Entry<K, V> previousEntry = map.tailMap(key).entrySet().iterator().next();
          throw new IllegalArgumentException(
              "Duplicate keys in mappings "
                  + previousEntry.getKey()
                  + "="
                  + previousEntry.getValue()
                  + " and "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top