Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 968 for plen (0.04 sec)

  1. cmd/bootstrap-peer-server.go

    		}
    	}
    	msg := "Expected MINIO_* environment name and values across all servers to be same: "
    	if len(missing) > 0 {
    		msg += fmt.Sprintf(`Missing environment values: %v. `, missing)
    	}
    	if len(mismatching) > 0 {
    		msg += fmt.Sprintf(`Mismatching environment values: %v. `, mismatching)
    	}
    	if len(extra) > 0 {
    		msg += fmt.Sprintf(`Extra environment values: %v. `, extra)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. internal/ringbuffer/ring_buffer_test.go

    	if readBytes != wroteBytes {
    		a, b := readBuf.Bytes(), wroteBuf.Bytes()
    		if debug && !bytes.Equal(a, b) {
    			common := len(a)
    			for i := range a {
    				if a[i] != b[i] {
    					common = i
    					break
    				}
    			}
    			a, b = a[common:], b[common:]
    			if len(a) > 64 {
    				a = a[:64]
    			}
    			if len(b) > 64 {
    				b = b[:64]
    			}
    			t.Errorf("after %d common bytes, difference \nread: %x\nwrote:%x", common, a, b)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java

            return 0;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
        public String toString () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  4. cmd/api-utils.go

    	spaceCount, hexCount := 0, 0
    	for i := 0; i < len(s); i++ {
    		c := s[i]
    		if shouldEscape(c) {
    			if c == ' ' {
    				spaceCount++
    			} else {
    				hexCount++
    			}
    		}
    	}
    
    	if spaceCount == 0 && hexCount == 0 {
    		return s
    	}
    
    	var buf [64]byte
    	var t []byte
    
    	required := len(s) + 2*hexCount
    	if required <= len(buf) {
    		t = buf[:required]
    	} else {
    		t = make([]byte, required)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 04 18:05:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. internal/store/batch.go

    		}
    	}
    
    	b.items = append(b.items, item)
    	return nil
    }
    
    // Len returns the no of items in the batch
    func (b *Batch[_]) Len() int {
    	b.Lock()
    	defer b.Unlock()
    
    	return len(b.items)
    }
    
    func (b *Batch[_]) isFull() bool {
    	return len(b.items) >= int(b.limit)
    }
    
    func (b *Batch[I]) commit() error {
    	switch len(b.items) {
    	case 0:
    		return nil
    	case 1:
    		_, err := b.store.Put(b.items[0])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. internal/config/certs.go

    	}
    	key, rest := pem.Decode(keyPEMBlock)
    	if len(rest) > 0 {
    		return tls.Certificate{}, ErrTLSUnexpectedData(nil).Msgf("The private key contains additional data")
    	}
    	if key == nil {
    		return tls.Certificate{}, ErrTLSUnexpectedData(nil).Msgf("The private key is not readable")
    	}
    	if x509.IsEncryptedPEMBlock(key) {
    		password := env.Get(EnvCertPassword, "")
    		if len(password) == 0 {
    			return tls.Certificate{}, ErrTLSNoPassword(nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. callbacks/callbacks.go

    	enableTransaction := func(db *gorm.DB) bool {
    		return !db.SkipDefaultTransaction
    	}
    
    	if len(config.CreateClauses) == 0 {
    		config.CreateClauses = createClauses
    	}
    	if len(config.QueryClauses) == 0 {
    		config.QueryClauses = queryClauses
    	}
    	if len(config.DeleteClauses) == 0 {
    		config.DeleteClauses = deleteClauses
    	}
    	if len(config.UpdateClauses) == 0 {
    		config.UpdateClauses = updateClauses
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 27 23:56:55 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	}
    	filteredCount := 0
    	for _, llb := range cla.Endpoints {
    		filtered := make([]*endpoint.LbEndpoint, 0, len(llb.LbEndpoints))
    		for _, ep := range llb.LbEndpoints {
    			if !filter.Verify(ep, cla.ClusterName) {
    				continue
    			}
    			filtered = append(filtered, ep)
    		}
    		llb.LbEndpoints = filtered
    		filteredCount += len(llb.LbEndpoints)
    	}
    
    	return cla, filteredCount
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 09:57:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ObjectArrays.java

          @Nullable Object[] src, int offset, int len, T[] dst) {
        checkPositionIndexes(offset, offset + len, src.length);
        if (dst.length < len) {
          dst = newArray(dst, len);
        } else if (dst.length > len) {
          @Nullable Object[] unsoundlyCovariantArray = dst;
          unsoundlyCovariantArray[len] = null;
        }
        arraycopy(src, offset, dst, 0, len);
        return dst;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. cmd/bucket-metadata.go

    		b.objectLockConfig = nil
    	}
    
    	if len(b.VersioningConfigXML) != 0 {
    		b.versioningConfig, err = versioning.ParseConfig(bytes.NewReader(b.VersioningConfigXML))
    		if err != nil {
    			return err
    		}
    	}
    
    	if len(b.QuotaConfigJSON) != 0 {
    		b.quotaConfig, err = parseBucketQuota(b.Name, b.QuotaConfigJSON)
    		if err != nil {
    			return err
    		}
    	}
    
    	if len(b.ReplicationConfigXML) != 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top