Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 361 for Buf (0.02 sec)

  1. istioctl/pkg/authz/listener.go

    					addPolicy(action, nameOfPolicy, indexOfRule)
    				}
    				if len(rbacTCP.GetRules().GetPolicies()) == 0 {
    					addPolicy(action, anonymousName, "0")
    				}
    			}
    		}
    	}
    
    	buf := strings.Builder{}
    	buf.WriteString("ACTION\tAuthorizationPolicy\tRULES\n")
    	for _, action := range []rbacpb.RBAC_Action{rbacpb.RBAC_DENY, rbacpb.RBAC_ALLOW, rbacpb.RBAC_LOG} {
    		if names, ok := actionToPolicy[action]; ok {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java

            final StringBuilder buf = new StringBuilder(100);
            final String value = System.getProperty("java.protocol.handler.pkgs");
            if (StringUtil.isEmpty(value)) {
                buf.append("org.codelibs.fess.net.protocol");
            } else if (!value.contains("org.codelibs.fess.net.protocol")) {
                buf.append("|org.codelibs.fess.net.protocol");
            }
            if (buf.length() > 0) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

        SmbFileHandle ensureOpen () throws CIFSException;
    
    
        /**
         * @param buf
         * @param off
         * @param length
         * @param direct
         * @return received bytes
         * @throws CIFSException
         * @throws IOException
         */
        int recv ( byte[] buf, int off, int length ) throws IOException;
    
    
        /**
         * @param buf
         * @param off
         * @param length
         * @param direct
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  4. internal/grid/grid.go

    	return d
    }
    
    type writerWrapper struct {
    	ch  chan<- []byte
    	ctx context.Context
    }
    
    func (w *writerWrapper) Write(p []byte) (n int, err error) {
    	buf := GetByteBufferCap(len(p))
    	buf = buf[:len(p)]
    	copy(buf, p)
    	select {
    	case w.ch <- buf:
    		return len(p), nil
    	case <-w.ctx.Done():
    		return 0, context.Cause(w.ctx)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

                                final Map<String, String> map = new HashMap<>();
                                map.put(ExtractData.RESOURCE_NAME_KEY, filename);
                                buf.append(extractor.getText(new IgnoreCloseInputStream(is), map).getContent());
                                buf.append('\n');
                            } catch (final Exception e) {
                                if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. internal/ringbuffer/ring_buffer_test.go

    			n, err = rb.WriteString(string(buf[:writeRng.Intn(len(buf))]))
    			if err != nil {
    				t.Fatalf("write failed: %v", err)
    			}
    			wroteBytes += n
    			wrote.Write(buf[:n])
    			debugln("WRITE 2\t", writeRng.Intn(len(buf)), wroteBytes)
    
    			// WriteByte
    			err = rb.WriteByte(buf[0])
    			if err != nil {
    				t.Fatalf("write failed: %v", err)
    			}
    			wroteBytes++
    			wrote.Write(buf[:1])
    			debugln("WRITE 3\t", 1, wroteBytes)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. docs/debugging/healing-bin/main.go

    					if err != nil {
    						return err
    					}
    
    					b, err := io.ReadAll(r)
    					if err != nil {
    						return err
    					}
    					buf := bytes.NewBuffer(nil)
    					if _, err = msgp.CopyToJSON(buf, bytes.NewReader(b)); err != nil {
    						return err
    					}
    
    					dec := json.NewDecoder(buf)
    					// Use number to preserve integers.
    					dec.UseNumber()
    					var htr map[string]interface{}
    					if err = dec.Decode(&htr); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

                tempBuf.append("null");
            }
            buf.append(tempBuf.toString());
            return buf;
        }
    
        protected StringBuilder appendTimestamp(final StringBuilder buf) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            append(buf, "timestamp", () -> FessFunctions.formatDate(systemHelper.getCurrentTime()));
            return buf;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                }
                return new Pair<>(k, v);
            }).forEach(e -> {
                if (buf.length() > 0) {
                    buf.append('\n');
                }
                buf.append(e.getFirst());
                buf.append('=');
                buf.append(e.getSecond());
            });
            return buf.toString();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

            final StringBuilder buf = new StringBuilder();
            buf.append("<list>");
            if (values != null && !values.isEmpty()) {
                for (final String value : values) {
                    buf.append("<item>");
                    buf.append(trimSpace(XmlUtil.escapeXml(value)));
                    buf.append("</item>");
                }
            }
            buf.append("</list>");
            // TODO support other type
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top