Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for enc (0.03 sec)

  1. internal/store/queuestore.go

    func (store *QueueStore[I]) multiWrite(key Key, items []I) (err error) {
    	buf := bytebufferpool.Get()
    	defer bytebufferpool.Put(buf)
    
    	enc := jsoniter.ConfigCompatibleWithStandardLibrary.NewEncoder(buf)
    
    	for i := range items {
    		if err = enc.Encode(items[i]); err != nil {
    			return err
    		}
    	}
    
    	path := filepath.Join(store.directory, key.String())
    	if key.Compress {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. cmd/encryption-v1_test.go

    			t.Errorf("Test %d: Decryption returned wrong error code: got %d , want %d", i, err, test.expErr)
    		} else if _, enc := crypto.IsEncrypted(test.info.UserDefined); encrypted && enc != encrypted {
    			t.Errorf("Test %d: Decryption thinks object is encrypted but it is not", i)
    		} else if !encrypted && enc != encrypted {
    			t.Errorf("Test %d: Decryption thinks object is not encrypted but it is", i)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  3. internal/event/target/elasticsearch.go

    	doc := map[string]interface{}{
    		"Records": []event.Event{eventData},
    	}
    	var buf bytes.Buffer
    	enc := json.NewEncoder(&buf)
    	err := enc.Encode(doc)
    	if err != nil {
    		return err
    	}
    	res, err := c.Index(
    		index,
    		&buf,
    		c.Index.WithDocumentID(key),
    		c.Index.WithContext(ctx),
    	)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                    foundEnc = true;
                    EncryptionNegotiateContext enc = (EncryptionNegotiateContext) ncr;
                    if ( !checkEncryptionContext(req, enc) ) {
                        return false;
                    }
                    this.selectedCipher = enc.getCiphers()[ 0 ];
                    this.supportsEncryption = true;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

        public static final String IGNORE_TRANSITIVE_REPOSITORIES = "itr";
    
        public static final String DEBUG = "debug";
        public static final String ENC = "enc";
        public static final String YJP = "yjp";
    
        protected Options options;
        protected final Set<Option> usedDeprecatedOptions = new LinkedHashSet<>();
    
        @SuppressWarnings("checkstyle:MethodLength")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

            public static final String HELP = "h";
    
            // parameters handled by script
            public static final String DEBUG = "debug";
            public static final String ENC = "enc";
            public static final String YJP = "yjp";
    
            // deprecated ones
            @Deprecated
            public static final String ALTERNATE_GLOBAL_SETTINGS = "gs";
    
            @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. cmd/bucket-replication-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	w.Header().Set(xhttp.ContentType, string(mimeJSON))
    
    	enc := json.NewEncoder(w)
    	stats := globalReplicationStats.Load().getLatestReplicationStats(bucket)
    	bwRpt := globalNotificationSys.GetBandwidthReports(ctx, bucket)
    	bwMap := bwRpt.BucketStats
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            } catch (final MalformedURLException e) {
                logger.warn("Malformed URL: " + attrValue, e);
            }
        }
    
        protected String encodeUrl(final String url, final String enc) {
            if (StringUtil.isBlank(url) || StringUtil.isBlank(enc)) {
                return url;
            }
    
            final StringBuilder buf = new StringBuilder(url.length() + 100);
            for (final char c : url.toCharArray()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. cmd/handler-utils.go

    func trimAwsChunkedContentEncoding(contentEnc string) (trimmedContentEnc string) {
    	if contentEnc == "" {
    		return contentEnc
    	}
    	var newEncs []string
    	for _, enc := range strings.Split(contentEnc, ",") {
    		if enc != streamingContentEncoding {
    			newEncs = append(newEncs, enc)
    		}
    	}
    	return strings.Join(newEncs, ",")
    }
    
    func collectInternodeStats(f http.HandlerFunc) http.HandlerFunc {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            return new ExtractData();
        }
    
        protected String getResourceName(final ResponseData responseData) {
            String name = responseData.getUrl();
            final String enc = responseData.getCharSet();
    
            if (name == null || enc == null) {
                return null;
            }
    
            name = name.replaceAll("/+$", StringUtil.EMPTY);
            final int idx = name.lastIndexOf('/');
            if (idx >= 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top