Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,712 for remove (0.09 sec)

  1. docs/debugging/inspect/main.go

    	}
    	output.Close()
    	if err != nil {
    
    		var keep keepFileErr
    		if !errors.As(err, &keep) {
    			os.Remove(outputFileName)
    		}
    		fatalErr(err)
    	}
    
    	// Export xl.meta to stdout
    	if *export {
    		fatalErr(inspectToExportType(outputFileName, *djson))
    		os.Remove(outputFileName)
    	}
    }
    
    func generateKeys() {
    	privatekey, err := rsa.GenerateKey(crand.Reader, 2048)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * removed from the pool and should be closed.
       */
      fun connectionBecameIdle(connection: RealConnection): Boolean {
        connection.lock.assertHeld()
    
        return if (connection.noNewExchanges || maxIdleConnections == 0) {
          connection.noNewExchanges = true
          connections.remove(connection)
          if (connections.isEmpty()) cleanupQueue.cancelAll()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        public Iterator<E> iterator() {
          return delegate().iterator(); // manually synchronized
        }
    
        @Override
        public boolean remove(@CheckForNull Object o) {
          synchronized (mutex) {
            return delegate().remove(o);
          }
        }
    
        @Override
        public boolean removeAll(Collection<?> c) {
          synchronized (mutex) {
            return delegate().removeAll(c);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  4. internal/dsync/dsync-server_test.go

    		return false, fmt.Errorf("RUnlock attempted on a write locked entity: %s", args.Resources[0])
    	}
    	if locksHeld > ReadLock {
    		l.lockMap[args.Resources[0]] = locksHeld - ReadLock // Remove one of the read locks held
    	} else {
    		delete(l.lockMap, args.Resources[0]) // Remove the (last) read lock
    	}
    	return reply, nil
    }
    
    func (l *lockServer) Refresh(args *LockArgs) (reply bool, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_background_tasks/test_tutorial002.py

    from fastapi.testclient import TestClient
    
    from docs_src.background_tasks.tutorial002 import app
    
    client = TestClient(app)
    
    
    def test():
        log = Path("log.txt")
        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***?q=some-query")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Message sent"}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 568 bytes
    - Viewed (0)
  6. cmd/tier.go

    		}
    		if inUse {
    			return errTierBackendInUse
    		}
    	}
    
    	config.Tiers[tierName] = tier
    	config.drivercache[tierName] = d
    
    	return nil
    }
    
    // Remove removes tier if it is empty.
    func (config *TierConfigMgr) Remove(ctx context.Context, tier string, force bool) error {
    	d, err := config.getDriver(ctx, tier)
    	if err != nil {
    		if errors.Is(err, errTierNotFound) {
    			return nil
    		}
    		return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. cmd/data-usage-cache.go

    		d.replaceHashed(candidate, nil, *flat)
    
    		// Remove top entry and subtract removed children.
    		remove -= removing
    		leaves = leaves[1:]
    	}
    }
    
    // forceCompact will force compact the cache of the top entry.
    // If the number of children is more than limit*100, it will compact self.
    // When above the limit a cleanup will also be performed to remove any possible abandoned entries.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  8. plugin.xml

    			<param name="plugin.name" value="minhash" />
    			<param name="plugin.version" value="2.17.1" />
    			<param name="plugin.zip.version" value="2.17.1" />
    		</antcall>
    
    		<antcall target="remove.jars" />
    	</target>
    
    	<target name="install.plugin">
    		<get dest="${target.dir}">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 25 23:33:43 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_request_files/test_tutorial001.py

                        "loc": ["body", "file"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "file"],
                        "msg": "field required",
                        "type": "value_error.missing",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_files/test_tutorial001_an.py

                        "loc": ["body", "file"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "file"],
                        "msg": "field required",
                        "type": "value_error.missing",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top