Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 1,261 for append (0.09 sec)

  1. internal/s3select/csv/recordtransform.go

    		}
    		return n, nil
    	}
    
    	// 2 characters...
    	for idx := 0; idx < len(p); {
    		i := bytes.Index(p[idx:], rr.recordDelimiter)
    		if i < 0 {
    			break
    		}
    		idx += i
    
    		p[idx] = '\n'
    		p = append(p[:idx+1], p[idx+2:]...)
    		n--
    	}
    
    	if p[n-1] != rr.recordDelimiter[0] {
    		return n, nil
    	}
    
    	if _, err = rr.reader.Read(rr.oneByte); err != nil {
    		return n, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  2. istioctl/pkg/util/configdump/listener.go

    		// If a listener was reloaded, it would contain both the active and draining state
    		// delete the draining state for proper comparison
    		l.DrainingState = nil
    		if l.ActiveState != nil {
    			dal = append(dal, l)
    		}
    	}
    
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    	for i := range dal {
    		dal[i].ActiveState.Listener.TypeUrl = v3.ListenerType
    	}
    	sort.Slice(dal, func(i, j int) bool {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  3. cmd/erasure-healing_test.go

    	err = objLayer.MakeBucket(ctx, bucket, MakeBucketOptions{})
    	if err != nil {
    		t.Fatalf("Failed to make a bucket - %v", err)
    	}
    
    	disks := objLayer.(*erasureServerPools).serverPools[0].erasureDisks[0]
    	orgDisks := append([]StorageAPI{}, disks...)
    
    	// Enable versioning.
    	globalBucketMetadataSys.Update(ctx, bucket, bucketVersioningConfig, []byte(`<VersioningConfiguration><Status>Enabled</Status></VersioningConfiguration>`))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

          return first;
        }
    
        StringBuilder sb = new StringBuilder().append("expected one element but was: <").append(first);
        for (int i = 0; i < 4 && iterator.hasNext(); i++) {
          sb.append(", ").append(iterator.next());
        }
        if (iterator.hasNext()) {
          sb.append(", ...");
        }
        sb.append('>');
    
        throw new IllegalArgumentException(sb.toString());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ObjectArrays.java

        result[0] = element;
        arraycopy(array, 0, result, 1, array.length);
        return result;
      }
    
      /**
       * Returns a new array that appends {@code element} to {@code array}.
       *
       * @param array the array of elements to prepend
       * @param element the element to append to the end
       * @return an array whose size is one larger than {@code array}, with the same contents as {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. src/cmd/cgo/ast.go

    		switch c[1] {
    		case '/':
    			//-style comment (no newline at the end)
    			c = c[2:] + "\n"
    		case '*':
    			/*-style comment */
    			c = c[2 : len(c)-2]
    		}
    		pieces = append(pieces, c)
    	}
    	return strings.Join(pieces, "")
    }
    
    func (f *File) validateIdents(x interface{}, context astContext) {
    	if x, ok := x.(*ast.Ident); ok {
    		if f.isMangledName(x.Name) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. .github/actions/notify-translations/app/main.py

            settings=settings, discussion_number=discussion_number
        )
    
        while discussion_edges:
            for discussion_edge in discussion_edges:
                comment_nodes.append(discussion_edge.node)
            last_edge = discussion_edges[-1]
            discussion_edges = get_graphql_translation_discussion_comments_edges(
                settings=settings,
                discussion_number=discussion_number,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. istioctl/pkg/waypoint/waypoint.go

    			})
    			filteredGws := make([]gateway.Gateway, 0)
    			for _, gw := range gws.Items {
    				if gw.Spec.GatewayClassName != constants.WaypointGatewayClassName {
    					continue
    				}
    				filteredGws = append(filteredGws, gw)
    			}
    			err = printWaypointStatus(ctx, w, kubeClient, filteredGws)
    			if err != nil {
    				return fmt.Errorf("failed to print waypoint status: %v", err)
    			}
    			return w.Flush()
    		},
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                        DERGeneralString stringPart = ASN1Util.as(DERGeneralString.class, part);
                        nameBuilder.append(stringPart.getString());
                        if ( parts.hasMoreElements() )
                            nameBuilder.append('/');
                    }
                    this.userPrincipalName = nameBuilder.toString();
                    break;
                case 4: // Transited Encoding
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                }
            }
    
            public String getOutput() {
                final StringBuilder buf = new StringBuilder(100);
                for (final String value : list) {
                    buf.append(value).append("\n");
                }
                return buf.toString();
            }
    
        }
    
        public void setWorkingDirectory(final File workingDirectory) {
            this.workingDirectory = workingDirectory;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top