Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 376 for cbuf (0.03 sec)

  1. guava-tests/test/com/google/common/io/ByteSourceTester.java

                  final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
                  @Override
                  public boolean processBytes(byte[] buf, int off, int len) throws IOException {
                    out.write(buf, off, len);
                    return true;
                  }
    
                  @Override
                  public byte[] getResult() {
                    return out.toByteArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            this.txn_buf = buffer;
        }
    
    
        /**
         * @return the txn_buf
         */
        public byte[] releaseBuffer () {
            byte[] buf = this.txn_buf;
            this.txn_buf = null;
            return buf;
        }
    
    
        /**
         * @return the subCommand
         */
        public final byte getSubCommand () {
            return this.subCommand;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 9.2K bytes
    - Viewed (0)
  3. internal/bucket/versioning/versioning_test.go

    	// Validates if Versioning with no excluded prefixes omits
    	// ExcludedPrefixes tags
    	v := Versioning{
    		Status: Enabled,
    	}
    	buf, err := xml.Marshal(v)
    	if err != nil {
    		t.Fatalf("Failed to marshal %v: %v", v, err)
    	}
    
    	str := string(buf)
    	if strings.Contains(str, "ExcludedPrefixes") {
    		t.Fatalf("XML shouldn't contain ExcludedPrefixes tag - %s", str)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 08 05:06:44 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            final String[] values = content.split("\n");
            final StringBuilder buf = new StringBuilder((int) (content.length() * 1.3));
            buf.append(prefix).append(1).append(':').append(values[0]);
            for (int i = 1; i < values.length; i++) {
                buf.append('\n').append(prefix).append(i + 1).append(':').append(values[i]);
            }
            return buf.toString();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            }
    
            try {
                mimeMap = new MimeMap();
                is = getClass().getClassLoader().getResourceAsStream( "jcifs/smb1/http/ne.css" );
                while(( n = is.read( buf )) != -1 ) {
                    sb.append( new String( buf, 0, n, "ISO8859_1" ));
                }
                style = sb.toString();
            } catch( IOException ioe ) {
                throw new ServletException( ioe.getMessage() );
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        }
    
        protected String buildThrowableMessage(final Throwable t) {
            final StringBuilder buf = new StringBuilder(100);
            Throwable current = t;
            while (current != null) {
                buf.append(current.getLocalizedMessage()).append(' ');
                current = current.getCause();
            }
            return buf.toString();
        }
    
        public static boolean isCheckboxEnabled(final String value) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. src/bufio/example_test.go

    		w.Write(b)
    	}
    	w.Flush()
    	// Output: 1 2 3 4
    }
    
    // ExampleWriter_ReadFrom demonstrates how to use the ReadFrom method of Writer.
    func ExampleWriter_ReadFrom() {
    	var buf bytes.Buffer
    	writer := bufio.NewWriter(&buf)
    
    	data := "Hello, world!\nThis is a ReadFrom example."
    	reader := strings.NewReader(data)
    
    	n, err := writer.ReadFrom(reader)
    	if err != nil {
    		fmt.Println("ReadFrom Error:", err)
    		return
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/Encdec.java

        }
        public static String dec_ucs2le( byte[] src, int si, int slim, char[] buf ) throws IOException {
            int bi;
    
            for( bi = 0; (si + 1) < slim; bi++, si += 2 ) {
                buf[bi] = (char)dec_uint16le( src, si );
                if( buf[bi] == '\0' ) {
                    break;
                }
            }
    
            return new String( buf, 0, bi );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NetworkExplorer.java

                }
    
                try {
                    try ( InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/http/ne.css"); ) {
                        while ( ( n = is.read(buf) ) != -1 ) {
                            sb.append(new String(buf, 0, n, "ISO8859_1"));
                        }
                        this.style = sb.toString();
                    }
                }
                catch ( IOException ioe ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  10. lib/wasm/wasm_exec.js

    			writeSync(fd, buf) {
    				outputBuf += decoder.decode(buf);
    				const nl = outputBuf.lastIndexOf("\n");
    				if (nl != -1) {
    					console.log(outputBuf.substring(0, nl));
    					outputBuf = outputBuf.substring(nl + 1);
    				}
    				return buf.length;
    			},
    			write(fd, buf, offset, length, position, callback) {
    				if (offset !== 0 || length !== buf.length || position !== null) {
    					callback(enosys());
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top