Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,672 for Found (0.14 sec)

  1. cmd/config-common.go

    }
    
    func checkConfig(ctx context.Context, objAPI ObjectLayer, configFile string) error {
    	if _, err := objAPI.GetObjectInfo(ctx, minioMetaBucket, configFile, ObjectOptions{}); err != nil {
    		// Treat object not found as config not found.
    		if isErrObjectNotFound(err) {
    			return errConfigNotFound
    		}
    
    		return err
    	}
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. tests/error_translator_test.go

    	if err != nil {
    		t.Fatalf("failed to connect database, got error %v", err)
    	}
    
    	dialectors := map[string]bool{"sqlite": true, "postgres": true, "mysql": true, "sqlserver": true}
    	if supported, found := dialectors[db.Dialector.Name()]; !(found && supported) {
    		return
    	}
    
    	DB.Migrator().DropTable(&City{})
    
    	if err = db.AutoMigrate(&City{}); err != nil {
    		t.Fatalf("failed to migrate cities table, got error: %v", err)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Jul 12 13:21:22 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig_test.go

    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    			wantException:  true, // "istioctl proxy-config clusters invalid" should fail
    		},
    		{ // listeners invalid
    			args:           strings.Split("listeners invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    			wantException:  true, // "istioctl proxy-config listeners invalid" should fail
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java

         * @throws ArtifactResolutionException in case of resolution issue
         * @throws ArtifactNotFoundException if an artifact is not found
         */
        Set<Artifact> resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session)
                throws ArtifactResolutionException, ArtifactNotFoundException;
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  5. tests/test_starlette_exception.py

            raise StarletteHTTPException(status_code=404, detail="Item not found")
        return {"item": items[item_id]}
    
    
    client = TestClient(app)
    
    
    def test_get_item():
        response = client.get("/items/foo")
        assert response.status_code == 200, response.text
        assert response.json() == {"item": "The Foo Wrestlers"}
    
    
    def test_get_item_not_found():
        response = client.get("/items/bar")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                    }
                    return s;
                }).allMatch(s -> {
                    final boolean found = new File(s).isFile();
                    if (found && logger.isDebugEnabled()) {
                        logger.debug("{} is found.", s);
                    }
                    return found;
                });
            } else {
                available = true;
            }
            return available;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  7. internal/event/target/postgresql_test.go

    )
    
    // TestPostgreSQLRegistration checks if postgres driver
    // is registered and fails otherwise.
    func TestPostgreSQLRegistration(t *testing.T) {
    	var found bool
    	for _, drv := range sql.Drivers() {
    		if drv == "postgres" {
    			found = true
    			break
    		}
    	}
    	if !found {
    		t.Fatal("postgres driver not registered")
    	}
    }
    
    func TestPsqlTableNameValidation(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

      // `key`, false if the entry was not found. In both cases, there is no entry
      // with key `key` existed after the call.
      bool Delete(const std::string& key) {
        absl::MutexLock lock(&mu_);
        return DeleteLocked(key);
      }
    
      /// Look up the entry with key `key` and copy it to `value` if found. Returns
      /// true if an entry was found for `key`, and its timestamp is not more than
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  9. internal/grid/manager.go

    		authRequest: o.AuthRequest,
    	}
    	m.handlers.init()
    	if ctx == nil {
    		ctx = context.Background()
    	}
    	for _, host := range o.Hosts {
    		if host == o.Local {
    			if found {
    				return nil, fmt.Errorf("grid: local host found multiple times")
    			}
    			found = true
    			// No connection to local.
    			continue
    		}
    		m.targets[host] = newConnection(connectionParams{
    			ctx:           ctx,
    			id:            m.ID,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/NamingTest.java

                    String[] found = d.list();
                    String[] expect = names;
    
                    Arrays.sort(found);
                    Arrays.sort(expect);
    
                    if ( log.isDebugEnabled() ) {
                        log.debug("Expect " + Arrays.toString(expect));
                        log.debug("Found " + Arrays.toString(found));
                    }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
Back to top