Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 384 for sbuf (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

            final StringBuilder buf = new StringBuilder();
            clientFactory.addClient("test:.*", new CrawlerClient() {
                @Override
                public ResponseData execute(final RequestData request) {
                    return null;
                }
    
                @Override
                public void setInitParameterMap(final Map<String, Object> params) {
                    buf.append("value=").append(params.get("hoge"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

                final StringBuilder buf = new StringBuilder(100);
                if (strings.length > 1) {
                    for (int i = 0; i < strings.length - 1; i++) {
                        if (buf.length() != 0) {
                            buf.append('.');
                        }
                        buf.append(strings[i]);
                    }
                    filePrefix = buf.toString();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. cmd/bucket-replication-metrics.go

    // SMA struct for calculating simple moving average
    type SMA struct {
    	buf       []float64
    	window    int     // len of buf
    	idx       int     // current index in buf
    	CAvg      float64 // cumulative average
    	prevSMA   float64
    	filledBuf bool
    }
    
    func newSMA(ln int) *SMA {
    	if ln <= 0 {
    		ln = defaultWindowSize
    	}
    	return &SMA{
    		buf:    make([]float64, ln),
    		window: ln,
    		idx:    0,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                    parseTextContent(node, buf);
                }
            } catch (final Exception e) {
                logger.warn("Could not parse a value of {}", xpath);
            }
            if (buf == null) {
                return null;
            }
            return buf.toString().trim();
        }
    
        protected void parseTextContent(final Node node, final StringBuilder buf) {
            if (node.hasChildNodes()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default String getLdapAdminUserSecurityPrincipal(final String name) {
            final StringBuilder buf = new StringBuilder(100);
            buf.append(String.format(getLdapAdminUserFilter(), name));
            if (StringUtil.isNotBlank(getLdapAdminUserBaseDn())) {
                buf.append(',').append(getLdapAdminUserBaseDn());
            }
            return buf.toString();
        }
    
        String getLdapAdminRoleObjectClasses();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

            validate(form, messages -> {}, () -> asListHtml(null));
            verifyTokenKeep(() -> asListHtml(this::saveToken));
    
            String header = null;
            final StringBuilder buf = new StringBuilder(1000);
            try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) {
                header = ReaderUtil.readLine(reader);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    	}
    	buf := make([]byte, length)
    	defer metaDataPoolPut(buf) // Reuse if we can.
    	_, err = s.getStorage().ReadFile(r.Context(), volume, filePath, int64(offset), buf, verifier)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	w.Header().Set(xhttp.ContentLength, strconv.Itoa(len(buf)))
    	w.Write(buf)
    }
    
    // ReadFileStreamHandler - read section of a file.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  8. src/bytes/example_test.go

    	// A Buffer can turn a string or a []byte into an io.Reader.
    	buf := bytes.NewBufferString("R29waGVycyBydWxlIQ==")
    	dec := base64.NewDecoder(base64.StdEncoding, buf)
    	io.Copy(os.Stdout, dec)
    	// Output: Gophers rule!
    }
    
    func ExampleBuffer_Bytes() {
    	buf := bytes.Buffer{}
    	buf.Write([]byte{'h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd'})
    	os.Stdout.Write(buf.Bytes())
    	// Output: hello world
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    if (buf.length() > 0) {
                        buf.append(" : ");
                    }
                    buf.append(ip);
                }
            } catch (final Exception e) {
                // ignore
            }
            return buf.toString();
        }
    
        protected boolean isLogFilename(final String name) {
            return name.endsWith(".log") || name.endsWith(".log.gz");
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/FileUtil.java

            }
            char[] buf = new char[bufferSize];
            int size = 0;
            int len;
            try {
                while ((len = reader.read(buf, size, bufferSize - size)) != -1) {
                    size += len;
                    if (size == bufferSize) {
                        final char[] newBuf = new char[bufferSize + initialCapacity];
                        System.arraycopy(buf, 0, newBuf, 0, bufferSize);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top