Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 499 for normalizeID (0.16 sec)

  1. src/cmd/internal/obj/s390x/rotate.go

    	mask &= r.OutMask()
    	if mask == 0 {
    		return nil
    	}
    
    	// normalize the mask so that the set bits are left aligned
    	o := bits.LeadingZeros64(^mask)
    	mask = bits.RotateLeft64(mask, o)
    	z := bits.LeadingZeros64(mask)
    	mask = bits.RotateLeft64(mask, z)
    
    	// check that the normalized mask is contiguous
    	l := bits.LeadingZeros64(^mask)
    	if l+bits.TrailingZeros64(mask) != 64 {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 21 19:19:04 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  2. src/internal/profile/merge.go

    			// them.
    			return Merge([]*Profile{p})
    		}
    	}
    
    	return p, nil
    }
    
    // Normalize normalizes the source profile by multiplying each value in profile by the
    // ratio of the sum of the base profile's values of that sample type to the sum of the
    // source profile's value of that sample type.
    func (p *Profile) Normalize(pb *Profile) error {
    
    	if err := p.compatible(pb); err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 19:35:56 UTC 2020
    - 11.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/construct.go

    	funcs := map[reflect.Type]FillFunc{}
    	funcs[reflect.TypeOf(&runtime.RawExtension{})] = func(s string, i int, obj interface{}) {
    		// generate a raw object in normalized form
    		// TODO: test non-normalized round-tripping... YAMLToJSON normalizes and makes exact comparisons fail
    		obj.(*runtime.RawExtension).Raw = []byte(`{"apiVersion":"example.com/v1","kind":"CustomType","spec":{"replicas":1},"status":{"available":1}}`)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 19:12:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/process/internal/util/MergeOptionsUtil.java

            }
    
            String normalized = heapSize.trim().toLowerCase();
            try {
                if (normalized.endsWith("m")) {
                    return Integer.parseInt(normalized.substring(0, normalized.length() - 1));
                }
                if (normalized.endsWith("g")) {
                    return Integer.parseInt(normalized.substring(0, normalized.length() - 1)) * 1024;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. cmd/iam.go

    	if isGroup {
    		dnValidator = sys.LDAPConfig.GetValidatedGroupDN
    	}
    
    	// map of normalized DN keys to original keys.
    	normalizedDNKeysMap := make(map[string][]string)
    	var collectedErrors []error
    	for k := range policyMap {
    		_, err := ldap.NormalizeDN(k)
    		if err != nil {
    			// not a valid DN, ignore.
    			continue
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    
    public interface ContentsParser {
        SuggestItem parseSearchWords(String[] words, String[][] readings, String[] fields, String[] tags, String roles[], long score,
                ReadingConverter readingConverter, Normalizer normalizer, SuggestAnalyzer analyzer, String[] langs);
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/EncodingHelperTest.java

            assertEquals("UTF-8", encodingHelper.normalize(enc));
    
            enc = "Shift_JIS";
            assertEquals("Shift_JIS", encodingHelper.normalize(enc));
    
            enc = "S-JIS";
            assertEquals("Shift_JIS", encodingHelper.normalize(enc));
        }
    
        public void test_normalize_null() {
            String enc;
    
            enc = null;
            assertNull(encodingHelper.normalize(enc));
    
            enc = "";
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MemoryAmount.java

                return -1;
            }
            String normalized = notation.toLowerCase(Locale.US).trim();
            if (normalized.isEmpty()) {
                return -1;
            }
            try {
                if (normalized.endsWith("k")) {
                    return parseWithFactor(normalized, KILO_FACTOR);
                }
                if (normalized.endsWith("m")) {
                    return parseWithFactor(normalized, MEGA_FACTOR);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java

                    return null;
                }
            };
    
            final Normalizer normalizer = (text, field, lang) -> null;
    
            final Suggester suggester = Suggester.builder().settings(SuggestSettings.builder().setSettingsIndexName(settingsIndexName))
                    .readingConverter(converter).normalizer(normalizer).build(runner.client(), id);
    
            assertEquals(runner.client(), suggester.client);
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/artifacts/VersionCatalog.java

         * Note: Alias will be automatically normalized: '-', '_' and '.' will be replaced with '.'
         * </p>
         * @param alias the alias of the library
         * @since 7.4
         */
        Optional<Provider<MinimalExternalModuleDependency>> findLibrary(String alias);
    
        /**
         * Returns the provider for the corresponding bundle alias.
         * <p>
         * Note: Bundle will be automatically normalized: '-', '_' and '.' will be replaced with '.'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 20:59:29 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top