Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 71 for enc (0.02 sec)

  1. src/main/java/jcifs/pac/PacMac.java

            }
            byte[] enc = constant;
            int klen = keybytes.length;
            byte[] dk = new byte[klen];
            for ( int n = 0; n < klen; ) {
                byte[] block = cipher.doFinal(enc);
                int len = Math.min(klen - n, block.length);
                System.arraycopy(block, 0, dk, n, len);
                n += len;
                enc = block;
            }
            return dk;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    			Bucket:           bucket,
    			Quota:            meta.QuotaConfigJSON,
    			Policy:           meta.PolicyConfigJSON,
    			Versioning:       enc(meta.VersioningConfigXML),
    			Tags:             enc(meta.TaggingConfigXML),
    			ObjectLockConfig: enc(meta.ObjectLockConfigXML),
    			SSEConfig:        enc(meta.EncryptionConfigXML),
    			UpdatedAt:        updatedAt,
    		}); err != nil {
    			rpt.SetStatus(bucket, "", err)
    			continue
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/delmarker-expiration.go

    	return nil
    }
    
    // MarshalXML encodes a DelMarkerExpiration value into an XML element
    func (de DelMarkerExpiration) MarshalXML(enc *xml.Encoder, start xml.StartElement) error {
    	if de.Empty() {
    		return nil
    	}
    
    	type delMarkerExpiration DelMarkerExpiration
    	return enc.EncodeElement(delMarkerExpiration(de), start)
    }
    
    // NextDue returns upcoming DelMarkerExpiration date for obj if
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	results, err := globalSiteReplicationSys.Netperf(ctx, duration)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(toAPIErrorCode(ctx, err)), r.URL)
    		return
    	}
    	enc := json.NewEncoder(w)
    	if err := enc.Encode(results); err != nil {
    		return
    	}
    }
    
    // ClientDevNullExtraTime - return extratime for last devnull
    // [POST] /minio/admin/v3/speedtest/client/devnull/extratime
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/Encdec.java

        {
            return Double.longBitsToDouble( dec_uint64be( src, si ));
        }
    
        /* Encode times
         */
    
        public static int enc_time( Date date, byte[] dst, int di, int enc )
        {
            long t;
    
            switch( enc ) {
                case TIME_1970_SEC_32BE:
                    return enc_uint32be( (int)(date.getTime() / 1000L), dst, di );
                case TIME_1970_SEC_32LE:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/transition.go

    func (t Transition) IsEnabled() bool {
    	return t.set
    }
    
    // MarshalXML encodes transition field into an XML form.
    func (t Transition) MarshalXML(enc *xml.Encoder, start xml.StartElement) error {
    	if !t.set {
    		return nil
    	}
    	type transitionWrapper Transition
    	return enc.EncodeElement(transitionWrapper(t), start)
    }
    
    // UnmarshalXML decodes transition field from the XML form.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 10 17:07:49 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  7. cmd/storage-datatypes_test.go

    		Healing:   true,
    		Endpoint:  "http://localhost:9001/tmp/drive1",
    		MountPath: "/tmp/drive1",
    		ID:        "uuid",
    		Error:     "",
    	}
    
    	enc := gob.NewEncoder(io.Discard)
    	b.SetBytes(1)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := enc.Encode(&v)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkDecodeFileInfoMsgp(b *testing.B) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                                        br = new BufferedReader(new InputStreamReader(inputStream, enc));
                                    } else {
                                        br = new BufferedReader(new InputStreamReader(new FileInputStream(tempFile), enc));
                                    }
                                    String line;
                                    while ((line = br.readLine()) != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                }
                return (T) Boolean.valueOf(value.toString());
            }
            return null;
        }
    
        public static String encodeUrl(final String url) {
            final String enc = LaRequestUtil.getOptionalRequest().filter(req -> req.getCharacterEncoding() != null)
                    .map(HttpServletRequest::getCharacterEncoding).orElse(Constants.UTF_8);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. docs/iam/policies/pbac-tests.sh

    	exit 1
    fi
    
    mc cp /etc/hosts myminio1/multi-key-poc/hosts --enc-kms "myminio1/multi-key-poc/hosts=minio-default-key"
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: PutObject to bucket: multi-key-poc with valid sse-kms should succeed. Failed"
    	exit 1
    fi
    
    mc cp /etc/issue myminio1/multi-key-poc/issue --enc-kms "myminio1/multi-key-poc/issue=minio-default-key-xxx" | grep "Insufficient permissions to access this path"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top