Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 276 for buf1 (0.03 sec)

  1. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                final StringBuilder buf = new StringBuilder(100);
                return ".*" + appendFileterPath(buf, escape(v)) + ".*";
            }
            if (s.startsWith(REGEXP_IGNORE_CASE)) {
                final String v = s.substring(REGEXP_IGNORE_CASE.length());
                final StringBuilder buf = new StringBuilder(100);
                buf.append("(?i)");
                return appendFileterPath(buf, unescape(v));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

                next = next.getNextException();
            }
            Throwable t = cause.getCause();
            while (t != null) {
                buf.append(t.getMessage()).append("], [");
                t = t.getCause();
            }
            buf.setLength(buf.length() - 4);
            return new String(buf);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/BufferCacheImpl.java

                byte[] buf;
    
                if ( this.freeBuffers > 0 ) {
                    for ( int i = 0; i < this.cache.length; i++ ) {
                        if ( this.cache[ i ] != null ) {
                            buf = (byte[]) this.cache[ i ];
                            this.cache[ i ] = null;
                            this.freeBuffers--;
                            return buf;
                        }
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 24 11:40:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharStreams.java

          }
        }
    
        checkNotNull(from);
        checkNotNull(to);
        long total = 0;
        CharBuffer buf = createBuffer();
        while (from.read(buf) != -1) {
          Java8Compatibility.flip(buf);
          to.append(buf);
          total += buf.remaining();
          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/RandomAccessFileTest.java

                    assertEquals(0, raf.getFilePointer());
    
                    byte[] buf = new byte[4];
    
                    raf.readFully(buf);
                    assertArrayEquals(new byte[] {
                        0x1, 0x2, 0x3, 0x4
                    }, buf);
                    assertEquals(4, raf.getFilePointer());
    
                    raf.readFully(buf);
                    assertArrayEquals(new byte[] {
                        0x5, 0x6, 0x7, 0x8
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  6. src/bufio/scan_test.go

    func genLine(buf *bytes.Buffer, lineNum, n int, addNewline bool) {
    	buf.Reset()
    	doCR := lineNum%5 == 0
    	if doCR {
    		n--
    	}
    	for i := 0; i < n-1; i++ { // Stop early for \n.
    		c := 'a' + byte(lineNum+i)
    		if c == '\n' || c == '\r' { // Don't confuse us.
    			c = 'N'
    		}
    		buf.WriteByte(c)
    	}
    	if addNewline {
    		if doCR {
    			buf.WriteByte('\r')
    		}
    		buf.WriteByte('\n')
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/BaseApiManager.java

        }
    
        protected void write(final String text, final String contentType, final String encoding) {
            final StringBuilder buf = new StringBuilder(50);
            if (contentType == null) {
                buf.append("text/plain");
            } else {
                buf.append(contentType);
            }
            buf.append("; charset=");
            final String enc;
            if (encoding == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    	}
    
    	// xattr bar should always appear before others
    	indices := []int{
    		bytes.Index(buf.Bytes(), []byte("bar=bar")),
    		bytes.Index(buf.Bytes(), []byte("baz=baz")),
    		bytes.Index(buf.Bytes(), []byte("foo=foo")),
    		bytes.Index(buf.Bytes(), []byte("qux=qux")),
    	}
    	if !slices.IsSorted(indices) {
    		t.Fatal("PAX headers are not sorted")
    	}
    }
    
    func TestUSTARLongName(t *testing.T) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                                    buf.append("<input type=\"hidden\" name=\"");
                                    buf.append(StringEscapeUtils.escapeHtml4(name));
                                    buf.append("\" value=\"");
                                    buf.append(StringEscapeUtils.escapeHtml4(value));
                                    buf.append("\"/>");
                                }
                            }
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. src/bytes/reader_test.go

    		}
    	}
    }
    
    func TestReaderDoubleUnreadRune(t *testing.T) {
    	buf := NewBuffer([]byte("groucho"))
    	if _, _, err := buf.ReadRune(); err != nil {
    		// should not happen
    		t.Fatal(err)
    	}
    	if err := buf.UnreadByte(); err != nil {
    		// should not happen
    		t.Fatal(err)
    	}
    	if err := buf.UnreadByte(); err == nil {
    		t.Fatal("UnreadByte: expected error, got nil")
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
Back to top