Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for resourceList (0.04 sec)

  1. cmd/signature-v2_test.go

    func TestResourceListSorting(t *testing.T) {
    	sortedResourceList := make([]string, len(resourceList))
    	copy(sortedResourceList, resourceList)
    	sort.Strings(sortedResourceList)
    	for i := range resourceList {
    		if resourceList[i] != sortedResourceList[i] {
    			t.Errorf("Expected resourceList[%d] = \"%s\", resourceList is not correctly sorted.", i, sortedResourceList[i])
    			break
    		}
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. cmd/signature-v2.go

    	}
    
    	var canonicalQueries []string
    	for _, key := range resourceList {
    		val, ok := keyval[key]
    		if !ok {
    			continue
    		}
    		if val == "" {
    			canonicalQueries = append(canonicalQueries, key)
    			continue
    		}
    		canonicalQueries = append(canonicalQueries, key+"="+val)
    	}
    
    	// The queries will be already sorted as resourceList is sorted, if canonicalQueries
    	// is empty strings.Join returns empty.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Resource}.
     *
     */
    class ResourceTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Resource().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Resource().equals(null));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top