Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 149 for writeString (0.07 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

            dstIndex += 2;
            writeInt4( resumeKey, dst, dstIndex );
            dstIndex += 4;
            writeInt2( flags, dst, dstIndex );
            dstIndex += 2;
            dstIndex += writeString( filename, dst, dstIndex );
    
            return dstIndex - start;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  2. internal/bucket/replication/datatypes_gen.go

    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = StatusType(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z StatusType) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteString(string(z))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z StatusType) MarshalMsg(b []byte) (o []byte, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

            dstIndex += 2;
            dst[ dstIndex++ ] = (byte) 0x00;
            dst[ dstIndex++ ] = (byte) 0x00;
            dst[ dstIndex++ ] = (byte) 0x00;
            dst[ dstIndex++ ] = (byte) 0x00;
            dstIndex += writeString(this.path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
    
        /**
         * @param informationLevel2
         * @return
         */
        static long mapInformationLevel ( int il ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/rule.go

    		return r.Filter.Tag.String()
    	}
    	if len(r.Filter.And.Tags) != 0 {
    		var buf bytes.Buffer
    		for _, t := range r.Filter.And.Tags {
    			if buf.Len() > 0 {
    				buf.WriteString("&")
    			}
    			buf.WriteString(t.String())
    		}
    		return buf.String()
    	}
    	return ""
    }
    
    // Validate - validates the rule element
    func (r Rule) Validate() error {
    	if err := r.validateID(); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance_gen.go

    		return
    	}
    	for za0002 := range z.RebalancedBuckets {
    		err = en.WriteString(z.RebalancedBuckets[za0002])
    		if err != nil {
    			err = msgp.WrapError(err, "RebalancedBuckets", za0002)
    			return
    		}
    	}
    	// write "bu"
    	err = en.Append(0xa2, 0x62, 0x75)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Bucket)
    	if err != nil {
    		err = msgp.WrapError(err, "Bucket")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

            return sb.toString();
        }
    
        @Test
        void testOptionsAsHtml() throws IOException {
            Path options = Paths.get("target/test-classes/options.html");
            Files.writeString(options, getOptionsAsHtml(), StandardCharsets.UTF_8);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. docs/debugging/pprofgoparser/main.go

    }
    
    func parseGoroutineType2(path string) (map[time.Duration][]string, error) {
    	f, err := os.Open(path)
    	if err != nil {
    		return nil, err
    	}
    
    	bf := bytes.Buffer{}
    
    	save := func(s string) {
    		bf.WriteString(s + "\n")
    	}
    	reset := func() {
    		bf.Reset()
    	}
    
    	ret := make(map[time.Duration][]string)
    
    	s := bufio.NewScanner(f)
    	s.Split(bufio.ScanLines)
    
    	var (
    		t            time.Duration
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Mar 06 11:43:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            flags2 = 0;
            errorCode = 0;
            received = false;
            digest = null;
        }
        int writeString( String str, byte[] dst, int dstIndex ) {
            return writeString( str, dst, dstIndex, useUnicode );
        }
        int writeString( String str, byte[] dst, int dstIndex, boolean useUnicode ) {
            int start = dstIndex;
    
            try {
                if( useUnicode ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

            SMBUtil.writeInt2(this.informationLevel, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.searchStorageType, dst, dstIndex);
            dstIndex += 4;
            dstIndex += writeString(this.path + this.wildcard, dst, dstIndex);
    
            return dstIndex - start;
        }
    
    
        @Override
        protected int writeDataWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComDeleteDirectory.java

            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[dstIndex++] = (byte)0x04;
            dstIndex += writeString( path, dst, dstIndex );
    
            return dstIndex - start;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
Back to top