Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 498 for appended (0.05 sec)

  1. guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testAppendString() throws IOException {
        File temp = createTempFile();
        Files.append(I18N, temp, UTF_16LE);
        assertEquals(I18N, Files.toString(temp, UTF_16LE));
        Files.append(I18N, temp, UTF_16LE);
        assertEquals(I18N + I18N, Files.toString(temp, UTF_16LE));
        Files.append(I18N, temp, UTF_16LE);
        assertEquals(I18N + I18N + I18N, Files.toString(temp, UTF_16LE));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Longs.java

        }
    
        @Override
        public String toString() {
          StringBuilder builder = new StringBuilder(size() * 10);
          builder.append('[').append(array[start]);
          for (int i = start + 1; i < end; i++) {
            builder.append(", ").append(array[i]);
          }
          return builder.append(']').toString();
        }
    
        long[] toLongArray() {
          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
    - 29.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Longs.java

        }
    
        @Override
        public String toString() {
          StringBuilder builder = new StringBuilder(size() * 10);
          builder.append('[').append(array[start]);
          for (int i = start + 1; i < end; i++) {
            builder.append(", ").append(array[i]);
          }
          return builder.append(']').toString();
        }
    
        long[] toLongArray() {
          return Arrays.copyOfRange(array, start, end);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  4. cmd/leak-detect_test.go

    	for _, g := range pickRelevantGoroutines() {
    		// Identify the Go routines those were not present in the initial snapshot.
    		// In other words a stack diff.
    		if !initialSnapShot.relevantRoutines[g] {
    			stackDiff = append(stackDiff, g)
    		}
    	}
    	return stackDiff
    }
    
    // DetectLeak - Creates a snapshot of runtime stack and compares it with the initial stack snapshot.
    func (initialSnapShot LeakDetect) DetectLeak(t TestErrHandler) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

                for (int i = 0; i < nodeList.size(); i++) {
                    final Node node = nodeList.get(i);
                    buf.append(node.getTextContent()).append(' ');
                }
                return new ExtractData(buf.toString().replaceAll("\\s+", " ").trim());
            } catch (final Exception e) {
                throw new ExtractException(e);
            }
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list.go

    	filtered := make([]corev1.Namespace, 0)
    	for _, ns := range nss {
    		if inject.IgnoredNamespaces.Contains(ns.Name) || ns.Name == istioNamespace {
    			continue
    		}
    		filtered = append(filtered, ns)
    	}
    	return filtered
    }
    
    func getNamespaces(ctx context.Context, client kube.CLIClient, istioNamespace string) ([]corev1.Namespace, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 18 11:39:52 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. cmd/listen-notification-handlers.go

    		eventName, err := event.ParseName(s)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    		mask.MergeMaskable(eventName)
    		eventNames = append(eventNames, eventName)
    	}
    
    	if bucketName != "" {
    		if _, err := objAPI.GetBucketInfo(ctx, bucketName, BucketOptions{}); err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. docs/debugging/reorder-disks/main.go

    	if node == "" {
    		for index, e := range exp {
    			result = append(result, localDisk{index: index, path: strings.Join(e, "")})
    		}
    	} else {
    		for index, e := range exp {
    			u, err := url.Parse(strings.Join(e, ""))
    			if err != nil {
    				return nil, err
    			}
    			if strings.Contains(u.Host, node) {
    				result = append(result, localDisk{index: index, path: u.Path})
    			}
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. cmd/metrics-resource.go

    	name := rm.Name
    	metrics := make([]MetricV2, 0, 3)
    	metrics = append(metrics, MetricV2{
    		Description:    getResourceMetricDescription(subSys, name, help),
    		Value:          rm.Current,
    		VariableLabels: cloneMSS(rm.Labels),
    	})
    
    	if requireAvgMax {
    		avgName := MetricName(fmt.Sprintf("%s_avg", name))
    		avgHelp := fmt.Sprintf("%s (avg)", help)
    		metrics = append(metrics, MetricV2{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. cmd/perf-tests.go

    					// have to capture failed reads, truncated
    					// reads etc.
    					atomic.AddUint64(&totalBytesRead, uint64(n))
    					mu.Lock()
    					downloadTimes = append(downloadTimes, response)
    					downloadTTFB = append(downloadTTFB, ttfb)
    					mu.Unlock()
    				}
    				if err != nil {
    					if !contextCanceled(downloadsCtx) && !errors.Is(err, context.Canceled) {
    						errOnce.Do(func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top