Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 804 for doappend (0.08 sec)

  1. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        StringBuilder input = new StringBuilder();
        StringBuilder expected = new StringBuilder();
        for (int i = 256; i < 1024; i++) {
          input.append((char) i);
          expected.append("[" + i + "]");
        }
        assertEquals(expected.toString(), SIMPLE_ESCAPER.escape(input.toString()));
      }
    
      public void testSurrogatePairs() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. internal/config/lambda/event/targetlist.go

    	if list == nil {
    		return []Target{}
    	}
    
    	list.RLock()
    	defer list.RUnlock()
    
    	targets := make([]Target, 0, len(list.targets))
    	for _, tgt := range list.targets {
    		targets = append(targets, tgt)
    	}
    
    	return targets
    }
    
    // Empty returns true if targetList is empty.
    func (list *TargetList) Empty() bool {
    	list.RLock()
    	defer list.RUnlock()
    
    	return len(list.targets) == 0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

          return "[]";
        }
        StringBuilder builder = new StringBuilder(length() * 5); // rough estimate is fine
        builder.append('[').append(array[start]);
    
        for (int i = start + 1; i < end; i++) {
          builder.append(", ").append(array[i]);
        }
        builder.append(']');
        return builder.toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                // maxCharsPerByte is wrong)
                // Fallback to an incremental approach
                StringBuilder builder = new StringBuilder(bufIndex + 32);
                builder.append(buffer, 0, bufIndex);
                buffer = null; // release for gc
                CharStreams.copy(reader, builder);
                return builder.toString();
              }
    
            } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/MediaType.java

          toString = result;
        }
        return result;
      }
    
      private String computeToString() {
        StringBuilder builder = new StringBuilder().append(type).append('/').append(subtype);
        if (!parameters.isEmpty()) {
          builder.append("; ");
          Multimap<String, String> quotedParameters =
              Multimaps.transformValues(
                  parameters,
                  (String value) ->
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        boolean done = doneSignal.await(1, SECONDS);
        if (!done) {
          StringBuilder builder = new StringBuilder();
          for (StackTraceElement trace : thread.getStackTrace()) {
            builder.append("\tat ").append(trace).append('\n');
          }
          fail(builder.toString());
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        boolean done = doneSignal.await(1, SECONDS);
        if (!done) {
          StringBuilder builder = new StringBuilder();
          for (StackTraceElement trace : thread.getStackTrace()) {
            builder.append("\tat ").append(trace).append('\n');
          }
          fail(builder.toString());
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. internal/store/queuestore.go

    	entries := make([]string, 0, len(store.entries))
    	for entry := range store.entries {
    		entries = append(entries, entry)
    	}
    
    	// Sort entries...
    	sort.Slice(entries, func(i, j int) bool {
    		return store.entries[entries[i]] < store.entries[entries[j]]
    	})
    
    	for i := range entries {
    		keys = append(keys, parseKey(entries[i]))
    	}
    
    	return keys
    }
    
    // list will read all entries from disk.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Doubles.java

        }
    
        @Override
        public String toString() {
          StringBuilder builder = new StringBuilder(size() * 12);
          builder.append('[').append(array[start]);
          for (int i = start + 1; i < end; i++) {
            builder.append(", ").append(array[i]);
          }
          return builder.append(']').toString();
        }
    
        double[] toDoubleArray() {
          return Arrays.copyOfRange(array, start, end);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. cmd/bucket-targets.go

    	defer hcTimer.Stop()
    	for {
    		select {
    		case <-hcTimer.C:
    			sys.hMutex.RLock()
    			eps := make([]madmin.ServerProperties, 0, len(sys.hc))
    			for _, ep := range sys.hc {
    				eps = append(eps, madmin.ServerProperties{Endpoint: ep.Endpoint, Scheme: ep.Scheme})
    			}
    			sys.hMutex.RUnlock()
    
    			if len(eps) > 0 {
    				cctx, cancel := context.WithTimeout(ctx, 30*time.Second)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top