Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 1,409 for key1 (0.03 sec)

  1. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

      public void testWeakReadWrite() {
        Striped<ReadWriteLock> striped = Striped.lazyWeakReadWriteLock(1000);
        Object key = new Object();
        Lock readLock = striped.get(key).readLock();
        WeakReference<Object> garbage = new WeakReference<>(new Object());
        GcFinalization.awaitClear(garbage);
        Lock writeLock = striped.get(key).writeLock();
        readLock.lock();
        assertFalse(writeLock.tryLock());
        readLock.unlock();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

      public void testEntriesRemainValidAfterRemove() {
        Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
        Entry<K, V> entry = iterator.next();
        K key = entry.getKey();
        V value = entry.getValue();
        multimap().removeAll(key);
        assertEquals(key, entry.getKey());
        assertEquals(value, entry.getValue());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

        }
    
        public void addFeature(final String key, final String value) {
            if (StringUtil.isBlank(key) || StringUtil.isBlank(value)) {
                throw new CrawlerSystemException("key or value is null.");
            }
    
            featureMap.put(key, value);
        }
    
        public void addProperty(final String key, final String value) {
            if (StringUtil.isBlank(key) || StringUtil.isBlank(value)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. cmd/sftp-server-driver.go

    			Recursive: false,
    		}) {
    			if object.Err != nil {
    				return nil, object.Err
    			}
    
    			if object.Key == prefix {
    				continue
    			}
    
    			isDir := strings.HasSuffix(object.Key, SlashSeparator)
    			files = append(files, &minioFileInfo{
    				p:     pathClean(strings.TrimPrefix(object.Key, prefix)),
    				info:  object,
    				isDir: isDir,
    			})
    		}
    
    		return listerAt(files), nil
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. buildscripts/multipart-quorum-test.sh

    	aws --endpoint-url http://localhost:"$start_port" s3api create-multipart-upload --bucket bucket --key obj-1 >upload-id.json
    	uploadId=$(jq -r '.UploadId' upload-id.json)
    
    	truncate -s 5MiB file-5mib
    	for i in {1..2}; do
    		aws --endpoint-url http://localhost:"$start_port" s3api upload-part \
    			--upload-id "$uploadId" --bucket bucket --key obj-1 \
    			--part-number "$i" --body ./file-5mib
    	done
    	for i in {1..6}; do
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 10:51:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. internal/http/headers.go

    	AmzServerSideEncryptionKmsContext            = AmzServerSideEncryption + "-Context"
    	AmzServerSideEncryptionCustomerAlgorithm     = AmzServerSideEncryption + "-Customer-Algorithm"
    	AmzServerSideEncryptionCustomerKey           = AmzServerSideEncryption + "-Customer-Key"
    	AmzServerSideEncryptionCustomerKeyMD5        = AmzServerSideEncryption + "-Customer-Key-Md5"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    // encrypt it using the provided key and return the result.
    func compressionIndexEncrypter(key crypto.ObjectKey, input func() []byte) func() []byte {
    	var data []byte
    	var fetched bool
    	return func() []byte {
    		if !fetched {
    			data = input()
    			fetched = true
    		}
    		return metadataEncrypter(key)("compression-index", data)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

                maxCachedContentSize = maxCachedContentSizeParam;
            }
        }
    
        protected <T> T getInitParameter(final String key, final T defaultValue, final Class<T> clazz) {
            if (initParamMap != null) {
                try {
                    final Object paramValue = initParamMap.get(key);
                    if (paramValue == null) {
                        return defaultValue;
                    }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

            }
    
            infoMap = null;
        }
    
        public synchronized void putToInfoMap(final String key, final String value) {
            if (infoMap == null) {
                infoMap = Collections.synchronizedMap(new LinkedHashMap<>());
            }
            logger.debug("infoMap: {}={} => {}", key, value, infoMap);
            infoMap.put(key, value);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server_gen.go

    				err = msgp.WrapError(err, "MinioEnv")
    				return
    			}
    			if z.MinioEnv == nil {
    				z.MinioEnv = make(map[string]string, zb0003)
    			} else if len(z.MinioEnv) > 0 {
    				for key := range z.MinioEnv {
    					delete(z.MinioEnv, key)
    				}
    			}
    			for zb0003 > 0 {
    				zb0003--
    				var za0002 string
    				var za0003 string
    				za0002, err = dc.ReadString()
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 14:49:49 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top