Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 608 for val2 (0.2 sec)

  1. tests/lru_test.go

    			lc.Add(fmt.Sprintf("key-%d", i/10), fmt.Sprintf("val-%d", i/10))
    			wg.Done()
    		}(i)
    	}
    	wg.Wait()
    	if lc.Len() != 100 {
    		t.Fatalf("length differs from expected")
    	}
    }
    
    func TestLRUInvalidateAndEvict(t *testing.T) {
    	var evicted int
    	lc := lru.NewLRU(-1, func(_, _ string) { evicted++ }, 0)
    
    	lc.Add("key1", "val1")
    	lc.Add("key2", "val2")
    
    	val, ok := lc.Get("key1")
    	if !ok {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         */
        protected DcerpcHandle() {
            // Default constructor
        }
    
        /* Bindings are in the form:
         * proto:\\server[key1=val1,key2=val2]
         * or
         * proto:server[key1=val1,key2=val2]
         * or
         * proto:[key1=val1,key2=val2]
         *
         * If a key is absent it is assumed to be 'endpoint'. Thus the
         * following are equivalent:
         * proto:\\ts0.win.net[endpoint=\pipe\srvsvc]
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. docs/bucket/replication/setup_ilm_expiry_replication.sh

    ## Add ILM rules
    ./mc ilm add sitea/bucket --transition-days 0 --transition-tier WARM-TIER --transition-days 0 --noncurrent-expire-days 2 --expire-days 3 --prefix "myprefix" --tags "tag1=val1&tag2=val2"
    ./mc ilm rule list sitea/bucket
    
    ## Check ilm expiry flag
    ./mc admin replicate info sitea --json
    flag1=$(./mc admin replicate info sitea --json | jq '.sites[0]."replicate-ilm-expiry"')
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcHandle.java

     */
    public abstract class DcerpcHandle implements DcerpcConstants, AutoCloseable {
    
        /*
         * Bindings are in the form:
         * proto:\\server[key1=val1,key2=val2]
         * or
         * proto:server[key1=val1,key2=val2]
         * or
         * proto:[key1=val1,key2=val2]
         *
         * If a key is absent it is assumed to be 'endpoint'. Thus the
         * following are equivalent:
         * proto:\\ts0.win.net[endpoint=\pipe\srvsvc]
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            String name = "getValues";
            String[] values = { "val1", "val2", "val3" };
            RequestParameter param = new RequestParameter(name, values);
    
            String[] retrievedValues = param.getValues();
            assertNotNull(retrievedValues);
            assertEquals(3, retrievedValues.length);
            assertEquals("val1", retrievedValues[0]);
            assertEquals("val2", retrievedValues[1]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. docs/site-replication/run-multi-site-oidc.sh

    	exit_1
    fi
    
    # "Test if most recent tag update is replicated"
    ./mc tag set minio2/newbucket "key=val1"
    if [ $? -ne 0 ]; then
    	echo "expecting tag set to be successful. exiting.."
    	exit_1
    fi
    
    sleep 10
    val=$(./mc tag list minio1/newbucket --json | jq -r .tagset | jq -r .key)
    if [ "${val}" != "val1" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    # stop minio1 instance
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. docs/site-replication/run-multi-site-ldap.sh

    	exit_1
    fi
    
    # "Test if most recent tag update is replicated"
    ./mc tag set minio2/newbucket "key=val1"
    if [ $? -ne 0 ]; then
    	echo "expecting tag set to be successful. exiting.."
    	exit_1
    fi
    
    sleep 10
    
    val=$(./mc tag list minio1/newbucket --json | jq -r .tagset | jq -r .key)
    if [ "${val}" != "val1" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    # stop minio1
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-minio-idp.sh

    fi
    
    set +x
    
    # "Test if most recent tag update is replicated"
    ./mc tag set minio2/newbucket "key=val1"
    if [ $? -ne 0 ]; then
    	echo "expecting tag set to be successful. exiting.."
    	exit_1
    fi
    sleep 5
    
    val=$(./mc tag list minio1/newbucket --json | jq -r .tagset | jq -r .key)
    if [ "${val}" != "val1" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. cmd/xl-storage-format_test.go

    			}
    		}
    	}
    
    	for key, val := range unMarshalXLMeta.Meta {
    		jsoniterVal, exists := jsoniterXLMeta.Meta[key]
    		if !exists {
    			t.Errorf("No meta data entry for Key \"%s\" exists.", key)
    		}
    		if val != jsoniterVal {
    			t.Errorf("Expected the value for Meta data key \"%s\" to be \"%s\", but got \"%s\".", key, val, jsoniterVal)
    		}
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. utils/utils.go

    	return !unicode.IsLetter(c) && !unicode.IsNumber(c) && c != '.' && c != '*' && c != '_' && c != '$' && c != '@'
    }
    
    // CheckTruth check string true or not
    func CheckTruth(vals ...string) bool {
    	for _, val := range vals {
    		if val != "" && !strings.EqualFold(val, "false") {
    			return true
    		}
    	}
    	return false
    }
    
    func ToStringKey(values ...interface{}) string {
    	results := make([]string, len(values))
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top