Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 1,280 for Byte (0.04 sec)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      Short generateShortObject() {
        return new Short(generateShort());
      }
    
      @Generates
      byte generateByte() {
        return (byte) generateInt();
      }
    
      @SuppressWarnings("removal") // b/321209431 -- maybe just use valueOf here?
      @Generates
      Byte generateByteObject() {
        return new Byte(generateByte());
      }
    
      @Generates
      char generateChar() {
        return generateString().charAt(0);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. internal/s3select/select.go

    type RequestProgress struct {
    	Enabled bool `xml:"Enabled"`
    }
    
    // ScanRange represents the ScanRange parameter.
    type ScanRange struct {
    	// Start is the byte offset to read from (from the start of the file).
    	Start *uint64 `xml:"Start"`
    	// End is the offset of the last byte that should be returned when Start
    	// is set, otherwise it is the offset from EOF to start reading.
    	End *uint64 `xml:"End"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. utils/tests/dummy_dialecter.go

    }
    
    func (DummyDialector) QuoteTo(writer clause.Writer, str string) {
    	var (
    		underQuoted, selfQuoted bool
    		continuousBacktick      int8
    		shiftDelimiter          int8
    	)
    
    	for _, v := range []byte(str) {
    		switch v {
    		case '`':
    			continuousBacktick++
    			if continuousBacktick == 2 {
    				writer.WriteString("``")
    				continuousBacktick = 0
    			}
    		case '.':
    			if continuousBacktick > 0 || !selfQuoted {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 06 06:03:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. cmd/httprange_test.go

    		{"bytes=1-10", false},
    		{"bytes=1-1", false},
    		{"bytes=2-5", false},
    
    		{"bytes=-5", false},
    		{"bytes=-1", false},
    		{"bytes=-1000", false},
    		{"bytes=", true},
    		{"bytes= ", true},
    		{"byte=", true},
    		{"bytes=A-B", true},
    		{"bytes=1-B", true},
    		{"bytes=B-1", true},
    		{"bytes=-1-1", true},
    	}
    	for i, testCase := range validRangeSpecs {
    		rs, err := parseRequestRangeSpec(testCase.spec)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 05 16:56:21 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. cni/pkg/install/kubeconfig.go

    	kc, err := createKubeConfig(cfg)
    	if err != nil {
    		return err
    	}
    
    	kubeconfigFilepath := filepath.Join(cfg.CNIAgentRunDir, constants.CNIPluginKubeconfName)
    	if err := file.AtomicWrite(kubeconfigFilepath, []byte(kc.Full), os.FileMode(cfg.KubeconfigMode)); err != nil {
    		installLog.Debugf("error writing kubeconfig: %w", err)
    		return err
    	}
    	installLog.Infof("wrote kubeconfig file %s with: \n%+v", kubeconfigFilepath, kc.Redacted)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

                throw new CrawlerSystemException(
                        "Transformer is invalid. Use " + accessResultData.getTransformerName() + ". This transformer is " + getName() + ".");
            }
            final byte[] data = accessResultData.getData();
            if (data == null) {
                return null;
            }
            try {
                return new String(data, charsetName);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin_dryrun_test.go

    			}
    			if !reflect.DeepEqual(generatedRules, goldenRules) {
    				t.Errorf("Unexpected IPtables rules generated, want \n%v \ngot \n%v", goldenRules, generatedRules)
    			}
    		})
    	}
    }
    
    func getRules(b []byte) map[string]string {
    	// Separate content with "COMMIT"
    	parts := strings.Split(string(b), "COMMIT")
    	tables := make(map[string]string)
    	for _, table := range parts {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Aug 27 16:44:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. cmd/tier.go

    	config.drivercache[tierName] = d
    	return nil
    }
    
    // Bytes returns msgpack encoded config with format and version headers.
    func (config *TierConfigMgr) Bytes() ([]byte, error) {
    	config.RLock()
    	defer config.RUnlock()
    	data := make([]byte, 4, config.Msgsize()+4)
    
    	// Initialize the header.
    	binary.LittleEndian.PutUint16(data[0:2], tierConfigFormat)
    	binary.LittleEndian.PutUint16(data[2:4], tierConfigVersion)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

                        this.security_descriptor = new byte[_security_descriptors];
                    }
                    _src = _src.derive(_security_descriptori);
                    for ( int _i = 0; _i < _security_descriptors; _i++ ) {
                        this.security_descriptor[ _i ] = (byte) _src.dec_ndr_small();
                    }
                }
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 19.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/TestInputStream.java

        return closed;
      }
    
      @Override
      public int read() throws IOException {
        throwIf(closed);
        throwIf(READ_THROWS);
        return in.read();
      }
    
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
        throwIf(closed);
        throwIf(READ_THROWS);
        return in.read(b, off, len);
      }
    
      @Override
      public long skip(long n) throws IOException {
        throwIf(closed);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
Back to top