Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cms (0.02 sec)

  1. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        ConcurrentHashMultiset<String> cms = ConcurrentHashMultiset.create();
        cms.add("a", 2);
        cms.add("b", 3);
    
        assertThrows(IllegalArgumentException.class, () -> cms.removeExactly("a", -2));
    
        assertTrue(cms.removeExactly("a", 0));
        assertEquals(2, cms.count("a"));
        assertTrue(cms.removeExactly("c", 0));
        assertEquals(0, cms.count("c"));
    
        assertFalse(cms.removeExactly("a", 4));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        ConcurrentHashMultiset<String> cms = ConcurrentHashMultiset.create();
        cms.add("a", 2);
        cms.add("b", 3);
    
        assertThrows(IllegalArgumentException.class, () -> cms.removeExactly("a", -2));
    
        assertTrue(cms.removeExactly("a", 0));
        assertEquals(2, cms.count("a"));
        assertTrue(cms.removeExactly("c", 0));
        assertEquals(0, cms.count("c"));
    
        assertFalse(cms.removeExactly("a", 4));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. misc/ios/detect.go

    				}
    			}
    		}
    		if matches == len(udids) {
    			files = append(files, string(line))
    		}
    	}
    	return files
    }
    
    func parseMobileProvision(fname string) *exec.Cmd {
    	return exec.Command("security", "cms", "-D", "-i", string(fname))
    }
    
    func plistExtract(fname string, path string) ([]byte, error) {
    	out, err := exec.Command("/usr/libexec/PlistBuddy", "-c", "Print "+path, fname).CombinedOutput()
    	if err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top