Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1721 - 1730 of 6,702 for If (0.03 seconds)

  1. internal/event/target/postgresql_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package target
    
    import (
    	"database/sql"
    	"slices"
    	"testing"
    )
    
    // TestPostgreSQLRegistration checks if postgres driver
    // is registered and fails otherwise.
    func TestPostgreSQLRegistration(t *testing.T) {
    	var found bool
    	if slices.Contains(sql.Drivers(), "postgres") {
    		found = true
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. scripts/add_latest_release_date.py

            if not match:
                continue
    
            version = match.group(1)
            date_part = match.group(2)
    
            if date_part:
                print(f"Latest release {version} already has a date: {date_part}")
                sys.exit(0)
    
            today = date.today().isoformat()
            lines[i] = f"## {version} ({today})\n"
            print(f"Added date: {version} ({today})")
    
            with open(RELEASE_NOTES_FILE, "w") as f:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:06:36 GMT 2026
    - 1023 bytes
    - Click Count (0)
  3. docs/en/docs/environment-variables.md

    If it finds it, then it will **use it**. Otherwise it keeps looking in the **other directories**.
    
    ### Installing Python and Updating the `PATH` { #installing-python-and-updating-the-path }
    
    When you install Python, you might be asked if you want to update the `PATH` environment variable.
    
    //// tab | Linux, macOS
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            result.setVersionConstraint(versionConstraint);
    
            if (versionConstraint.getRange() == null) {
                result.addVersion(versionConstraint.getVersion());
            } else {
                VersionRange.Bound lowerBound = versionConstraint.getRange().getLowerBound();
                VersionRange.Bound upperBound = versionConstraint.getRange().getUpperBound();
                if (lowerBound != null
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. cmd/storage-datatypes_test.go

    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"encoding/gob"
    	"io"
    	"testing"
    	"time"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. internal/handlers/proxy_test.go

    	res := GetSourceIP(req)
    	if res != "8.8.8.8" {
    		t.Errorf("wrong header, xff takes precedence: got %s, want: 8.8.8.8", res)
    	}
    
    	// When explicitly disabled, the XFF header is ignored and X-Real-IP is used.
    	enableXFFHeader = false
    	defer func() {
    		enableXFFHeader = true
    	}()
    	res = GetSourceIP(req)
    	if res != "1.1.1.1" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            String extClassPath = protoSession.getUserProperties().get(Constants.MAVEN_EXT_CLASS_PATH);
            if (extClassPath == null) {
                extClassPath = protoSession.getSystemProperties().get(Constants.MAVEN_EXT_CLASS_PATH);
                if (extClassPath != null) {
                    context.logger.warn("The property '" + Constants.MAVEN_EXT_CLASS_PATH
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  8. cmd/bucket-encryption-handlers.go

    		return
    	}
    
    	// Check if bucket exists.
    	if _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Parse bucket encryption xml
    	encConfig, err := validateBucketSSEConfig(io.LimitReader(r.Body, maxBucketSSEConfigSize))
    	if err != nil {
    		apiErr := APIError{
    			Code:           "MalformedXML",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

            String modeSetting = settings.get("mode", null);
            if (modeSetting != null) {
                if ("search".equalsIgnoreCase(modeSetting)) {
                    mode = JapaneseTokenizer.Mode.SEARCH;
                } else if ("normal".equalsIgnoreCase(modeSetting)) {
                    mode = JapaneseTokenizer.Mode.NORMAL;
                } else if ("extended".equalsIgnoreCase(modeSetting)) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsRelatedContent.java

            Map<String, Object> sourceMap = new HashMap<>();
            if (content != null) {
                addFieldToSource(sourceMap, "content", content);
            }
            if (createdBy != null) {
                addFieldToSource(sourceMap, "createdBy", createdBy);
            }
            if (createdTime != null) {
                addFieldToSource(sourceMap, "createdTime", createdTime);
            }
            if (sortOrder != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top