Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 380 for nbuf (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                final StringBuilder buf = new StringBuilder(100);
                buf.append("ftp://");
                buf.append(getHost());
                final int port = getPort();
                if (port != DEFAULT_FTP_PORT) {
                    buf.append(':').append(port);
                }
                buf.append(path);
                final String url = normalize(buf.toString());
                if ("/".equals(path)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2_test.go

    			continue
    		}
    		in, err := file.Open()
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer in.Close()
    		buf, err := io.ReadAll(in)
    		if err != nil {
    			t.Fatal(err)
    		}
    		buf = xlMetaV2TrimData(buf)
    
    		vers = append(vers, metaCacheEntry{
    			name:     "a",
    			metadata: buf,
    		})
    	}
    
    	// Shuffle...
    	for i := 0; i < 100; i++ {
    		rng := rand.New(rand.NewSource(int64(i)))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top