Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,126 for Len (0.15 sec)

  1. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

         */
        public SecurityDescriptor () {}
    
    
        /**
         * @param buffer
         * @param bufferIndex
         * @param len
         * @throws IOException
         */
        public SecurityDescriptor ( byte[] buffer, int bufferIndex, int len ) throws IOException {
            this.decode(buffer, bufferIndex, len);
        }
    
    
        /**
         * @return the type
         */
        public final int getType () {
            return this.type;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.4K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/rule.go

    )
    
    // validateID - checks if ID is valid or not.
    func (r Rule) validateID() error {
    	if len(r.ID) > 255 {
    		return errInvalidRuleID
    	}
    	return nil
    }
    
    // validateStatus - checks if status is valid or not.
    func (r Rule) validateStatus() error {
    	// Status can't be empty
    	if len(r.Status) == 0 {
    		return errEmptyRuleStatus
    	}
    
    	// Status must be one of Enabled or Disabled
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. cni/pkg/install/cniconfig_test.go

    				resultChan <- result
    			}(resultChan, errChan, parent, cfg)
    
    			select {
    			case result := <-resultChan:
    				if len(c.delayedConfName) > 0 {
    					// Delayed case
    					t.Fatalf("did not expect to retrieve a CNI config file %s", result)
    				} else if result != expectedFilepath {
    					if len(expectedFilepath) > 0 {
    						t.Fatalf("expected %s, got %s", expectedFilepath, result)
    					}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  4. internal/bucket/replication/rule.go

    func (r Rule) validateID() error {
    	// cannot be longer than 255 characters
    	if len(r.ID) > 255 {
    		return errInvalidRuleID
    	}
    	return nil
    }
    
    // validateStatus - checks if status is valid or not.
    func (r Rule) validateStatus() error {
    	// Status can't be empty
    	if len(r.Status) == 0 {
    		return errEmptyRuleStatus
    	}
    
    	// Status must be one of Enabled or Disabled
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 24 23:22:20 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. internal/s3select/sql/jsonpath.go

    			return nil, false, errIndexLookup
    		}
    
    		if idx >= len(arr) {
    			return nil, false, nil
    		}
    		return jsonpathEval(p[1:], arr[idx])
    
    	case p[0].ObjectWildcard:
    		switch kvs := v.(type) {
    		case jstream.KVS:
    			if len(p[1:]) > 0 {
    				return nil, false, errWildcardObjectUsageInvalid
    			}
    
    			return kvs, false, nil
    		case simdjson.Object:
    			if len(p[1:]) > 0 {
    				return nil, false, errWildcardObjectUsageInvalid
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. cmd/site-replication-metrics_gen_test.go

    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgRStat(b *testing.B) {
    	v := RStat{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 30 08:00:59 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  7. clause/expression.go

    	)
    
    	for _, v := range []byte(expr.SQL) {
    		if v == '?' && len(expr.Vars) > idx {
    			if afterParenthesis || expr.WithoutParentheses {
    				if _, ok := expr.Vars[idx].(driver.Valuer); ok {
    					builder.AddVar(builder, expr.Vars[idx])
    				} else {
    					switch rv := reflect.ValueOf(expr.Vars[idx]); rv.Kind() {
    					case reflect.Slice, reflect.Array:
    						if rv.Len() == 0 {
    							builder.AddVar(builder, nil)
    						} else {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Oct 10 06:45:48 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/AbstractHasher.java

        return putBytes(bytes, 0, bytes.length);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes, int off, int len) {
        Preconditions.checkPositionIndexes(off, off + len, bytes.length);
        for (int i = 0; i < len; i++) {
          putByte(bytes[off + i]);
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(ByteBuffer b) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/TestWriter.java

      }
    
      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        super.write(cbuf, off, len);
        flush();
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        super.write(str, off, len);
        flush();
      }
    
      public boolean closed() {
        return out.closed();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  10. cmd/bucket-stats_gen_test.go

    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgBucketReplicationStat(b *testing.B) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 30 08:00:59 GMT 2023
    - 20.5K bytes
    - Viewed (0)
Back to top