Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for emptystring (0.29 sec)

  1. src/net/ip.go

    	s := make([]byte, len(b)*2)
    	for i, tn := range b {
    		s[i*2], s[i*2+1] = hexDigit[tn>>4], hexDigit[tn&0xf]
    	}
    	return string(s)
    }
    
    // ipEmptyString is like ip.String except that it returns
    // an empty string when ip is unset.
    func ipEmptyString(ip IP) string {
    	if len(ip) == 0 {
    		return ""
    	}
    	return ip.String()
    }
    
    // MarshalText implements the [encoding.TextMarshaler] interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. operator/pkg/validate/validate.go

    func validateLeaf(validations map[string]ValidatorFunc, path util.Path, val any, checkRequired bool) util.Errors {
    	pstr := path.String()
    	msg := fmt.Sprintf("validate %s:%v(%T) ", pstr, val, val)
    	if util.IsValueNil(val) || util.IsEmptyString(val) {
    		if checkRequired && requiredValues[pstr] {
    			return util.NewErrs(fmt.Errorf("field %s is required but not set", util.ToYAMLPathString(pstr)))
    		}
    		msg += fmt.Sprintf("validate %s: OK (empty value)", pstr)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 12 16:04:15 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            final String index;
            if (hits.length > 0) {
                index = hits[0].getIndex();
            } else {
                index = SuggestConstants.EMPTY_STRING;
            }
    
            final boolean singleWordQuery = isSingleWordQuery(query);
            final boolean hiraganaQuery = isHiraganaQuery(query);
            for (int i = 0; i < hits.length && words.size() < size; i++) {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/net/iprawsock.go

    }
    
    // Network returns the address's network name, "ip".
    func (a *IPAddr) Network() string { return "ip" }
    
    func (a *IPAddr) String() string {
    	if a == nil {
    		return "<nil>"
    	}
    	ip := ipEmptyString(a.IP)
    	if a.Zone != "" {
    		return ip + "%" + a.Zone
    	}
    	return ip
    }
    
    func (a *IPAddr) isWildcard() bool {
    	if a == nil || a.IP == nil {
    		return true
    	}
    	return a.IP.IsUnspecified()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                });
            } catch (final ExecutionException e) {
                logger.warn("Failed to process a group cache.", e);
                return new Pair<>(StringUtil.EMPTY_STRINGS, StringUtil.EMPTY_STRINGS);
            }
        }
    
        protected void processGroup(final AzureAdUser user, final List<String> groupList, final List<String> roleList, final String id) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

        /**
         * 空文字<code>""</code>です。
         */
        public static final String EMPTY = "";
    
        /**
         * 文字列型の空の配列です。
         */
        public static final String[] EMPTY_STRINGS = new String[0];
    
        static Object javaLangAccess = null;
    
        static Method newStringUnsafeMethod = null;
    
        static {
            try {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                    }
                    if (!langSet.isEmpty()) {
                        return langSet.toArray(new String[langSet.size()]);
                    }
                }
            }
            return StringUtil.EMPTY_STRINGS;
        }
    
        public OptionalEntity<Map<String, Object>> getDocumentByDocId(final String docId, final String[] fields,
                final OptionalThing<FessUserBean> userBean) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            final String value = fessConfig.getPurgeByBots();
            String[] botNames;
            if (StringUtil.isBlank(value)) {
                botNames = StringUtil.EMPTY_STRINGS;
            } else {
                botNames = value.split(",");
            }
    
            final List<SearchLog> searchLogList = new ArrayList<>();
            final Map<String, UserInfo> userInfoMap = new HashMap<>();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/Crawler.java

                    final String[] toAddresses;
                    if (StringUtil.isNotBlank(toStrs)) {
                        toAddresses = toStrs.split(",");
                    } else {
                        toAddresses = StringUtil.EMPTY_STRINGS;
                    }
                    final NotificationHelper notificationHelper = ComponentUtil.getNotificationHelper();
                    SMailCallbackContext.setPreparedMessageHookOnThread(notificationHelper::send);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                                QueryBuilders.termsQuery(docIdField, deleteFileMap.keySet().toArray(new String[deleteFileMap.size()])));
                        searchRequestBuilder.setFetchSource(new String[] { docIdField }, StringUtil.EMPTY_STRINGS);
                        return true;
                    }).forEach(m -> {
                        final Object docId = m.get(docIdField);
                        if (docId != null) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top