Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 804 for doappend (0.09 sec)

  1. cmd/object-api-utils.go

    		var errs []error
    		for index, disk := range di {
    			switch {
    			case disk == nil:
    				errs = append(errs, fmt.Errorf("disk[%d]: offline", index))
    			case disk.Error != "":
    				errs = append(errs, fmt.Errorf("disk %s: %s", disk.Endpoint, disk.Error))
    			case disk.Total == 0:
    				errs = append(errs, fmt.Errorf("disk %s: total is zero", disk.Endpoint))
    			}
    		}
    		// Log disk errors.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

        }
    
        @Override
        public String toString() {
          StringBuilder builder = new StringBuilder(size() * 5);
          builder.append('[').append(array[start]);
          for (int i = start + 1; i < end; i++) {
            builder.append(", ").append(array[i]);
          }
          return builder.append(']').toString();
        }
    
        int[] toIntArray() {
          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
    - 31K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	for d := range errMap {
    		keys = append(keys, d)
    	}
    	sort.Strings(keys)
    
    	var success int
    	msgs := []string{}
    	for _, d := range keys {
    		name := c.state.Peers[d].Name
    		err := errMap[d]
    		if err == nil {
    			msgs = append(msgs, fmt.Sprintf("'%s' on site %s (%s): succeeded", actionName, name, d))
    			success++
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  4. src/archive/tar/writer.go

    				spb = append(strconv.AppendInt(spb, s.Offset, 10), '\n')
    				spb = append(strconv.AppendInt(spb, s.Length, 10), '\n')
    			}
    			pad := blockPadding(int64(len(spb)))
    			spb = append(spb, zeroBlock[:pad]...)
    			hdr.Size += int64(len(spb)) // Accounts for encoded sparse map
    
    			// Add and modify appropriate PAX records.
    			dir, file := path.Split(realName)
    			hdr.Name = path.Join(dir, "GNUSparseFile.0", file)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. internal/grid/grid_test.go

    			Handle: func(ctx context.Context, payload []byte, request <-chan []byte, resp chan<- []byte) *RemoteErr {
    				for in := range request {
    					b := append([]byte{}, payload...)
    					b = append(b, in...)
    					resp <- b
    				}
    				t.Log(GetCaller(ctx).Name, "Handler done")
    				return nil
    			},
    			OutCapacity: 1,
    			InCapacity:  1,
    		}))
    		// 2: Return as error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Bytes.java

        }
    
        @Override
        public String toString() {
          StringBuilder builder = new StringBuilder(size() * 5);
          builder.append('[').append(array[start]);
          for (int i = start + 1; i < end; i++) {
            builder.append(", ").append(array[i]);
          }
          return builder.append(']').toString();
        }
    
        byte[] toByteArray() {
          return Arrays.copyOfRange(array, start, end);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    			// See: https://golang.org/issue/6506.
    			"-fno-builtin",
    		)
    	}
    
    	c = append(c, p.GccOptions...)
    	c = append(c, gccMachine()...)
    	if goos == "aix" {
    		c = append(c, "-maix64")
    		c = append(c, "-mcmodel=large")
    	}
    	// disable LTO so we get an object whose symbols we can read
    	c = append(c, "-fno-lto")
    	c = append(c, "-") //read input from standard input
    	return c
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  8. internal/hash/checksum.go

    	crc := c.Raw
    	if c.Type.Trailing() {
    		// When we serialize we don't care if it was trailing.
    		c.Type ^= ChecksumTrailing
    	}
    	if len(crc) != c.Type.RawByteLen() {
    		return b
    	}
    	b = append(b, tmp[:n]...)
    	b = append(b, crc...)
    	if c.Type.Is(ChecksumMultipart) {
    		var checksums int
    		if c.WantParts > 0 && !c.Type.Is(ChecksumIncludesMultipart) {
    			checksums = c.WantParts
    		}
    		// Ensure we don't divide by 0:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/main/webapp/js/suggestor.js

                      );
    
                      $liEle.css("padding", "2px");
    
                      $olEle.append($liEle);
                      listNum++;
                    }
                  }
    
                  if (listNum > 0 && $textArea.val().length >= settingMinTerm) {
                    $boxElement.html("");
                    $boxElement.append($olEle);
                    $boxElement.css("display", "block");
                  } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  10. cmd/local-locker_test.go

    		}
    		if !ok {
    			t.Fatal("did not get write lock")
    		}
    		rUIDs = append(rUIDs, uid)
    
    		// RLock twice, different uid
    		uid = mustGetUUID()
    		arg.UID = uid
    		ok, err = l.RLock(ctx, arg)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if !ok {
    			t.Fatal("did not get write lock")
    		}
    		rResources[i] = name
    		rUIDs = append(rUIDs, uid)
    	}
    	// Each Lock has m entries
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top