Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2251 - 2260 of 4,820 for If (0.03 sec)

  1. src/main/java/org/codelibs/core/misc/LocaleUtil.java

         */
        public static Locale getLocale(final String localeStr) {
            // TODO replace with Fess
            Locale locale = LocaleUtil.getDefault();
            if (localeStr != null) {
                final int index = localeStr.indexOf('_');
                if (index < 0) {
                    locale = new Locale(localeStr);
                } else {
                    final String language = localeStr.substring(0, index);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. cmd/batch-handlers_test.go

    `,
    			},
    			want: []string{"foo", "bar"},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if err := yaml.Unmarshal([]byte(tt.args.yamlStr), &tt.b); (err != nil) != tt.wantErr {
    				t.Errorf("UnmarshalYAML() error = %v, wantErr %v", err, tt.wantErr)
    			}
    			if !slices.Equal(tt.b.Prefix.F(), tt.want) {
    				t.Errorf("UnmarshalYAML() = %v, want %v", tt.b.Prefix.F(), tt.want)
    			}
    		})
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/BigIntegerConversionUtil.java

         */
        public static BigInteger toBigInteger(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof BigInteger) {
                return (BigInteger) o;
            } else {
                final Long l = LongConversionUtil.toLong(o, pattern);
                if (l == null) {
                    return null;
                }
                return BigInteger.valueOf(l);
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsCrawlingInfo.java

            Map<String, Object> sourceMap = new HashMap<>();
            if (createdTime != null) {
                addFieldToSource(sourceMap, "createdTime", createdTime);
            }
            if (expiredTime != null) {
                addFieldToSource(sourceMap, "expiredTime", expiredTime);
            }
            if (name != null) {
                addFieldToSource(sourceMap, "name", name);
            }
            if (sessionId != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsCrawlingInfoParam.java

            if (crawlingInfoId != null) {
                addFieldToSource(sourceMap, "crawlingInfoId", crawlingInfoId);
            }
            if (createdTime != null) {
                addFieldToSource(sourceMap, "createdTime", createdTime);
            }
            if (key != null) {
                addFieldToSource(sourceMap, "key", key);
            }
            if (value != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                    setResults(qr, new FileEntry[] { fe1, fe2 });
                    q.setResponse(qr);
                    return cr;
                }
                if (arg instanceof Smb2QueryDirectoryRequest) {
                    queryCount[0]++;
                    if (queryCount[0] == 1) {
                        // This is the second page: one more file
                        Smb2QueryDirectoryResponse qr =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  7. src/packaging/common/scripts/prerm

            exit 1
        ;;
    esac
    
    # Stops the service
    if [ "$STOP_REQUIRED" = "true" ]; then
        echo -n "Stopping fess service..."
        if command -v systemctl >/dev/null; then
            systemctl --no-reload stop fess.service > /dev/null 2>&1 || true
    
        elif [ -x /etc/init.d/fess ]; then
            if command -v invoke-rc.d >/dev/null; then
                invoke-rc.d fess stop || true
            else
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  8. misc/cgo/gmp/pi.go

    	numer = big.NewInt(1)
    	accum = big.NewInt(0)
    	denom = big.NewInt(1)
    	ten   = big.NewInt(10)
    )
    
    func extractDigit() int64 {
    	if big.CmpInt(numer, accum) > 0 {
    		return -1
    	}
    	tmp1.Lsh(numer, 1).Add(tmp1, numer).Add(tmp1, accum)
    	big.DivModInt(tmp1, tmp2, tmp1, denom)
    	tmp2.Add(tmp2, numer)
    	if big.CmpInt(tmp2, denom) >= 0 {
    		return -1
    	}
    	return tmp1.Int64()
    }
    
    func nextTerm(k int64) {
    	y2 := k*2 + 1
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Apr 10 22:32:35 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessNotification.java

                return flags;
            }
    
            /**
             * Checks if this is an IPv4 address.
             *
             * @return true if IPv4
             */
            public boolean isIPv4() {
                return (flags & IPV4) != 0;
            }
    
            /**
             * Checks if this is an IPv6 address.
             *
             * @return true if IPv6
             */
            public boolean isIPv6() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

         * @return the original event or a new event with WARN level if conversion applied
         */
        @Override
        public LogEvent rewrite(final LogEvent event) {
            final String loggerName = event.getLoggerName();
            if (loggerName == null) {
                return event;
            }
            for (final String name : loggerNames) {
                if (loggerName.startsWith(name)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top