Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 744 for doDelete (0.04 sec)

  1. cmd/http-stats.go

    				In:  stats.s3InputBytes,
    				Out: stats.s3OutputBytes,
    			}
    		}
    	}
    
    	return bucketStats
    }
    
    // delete metrics once bucket is deleted.
    func (s *bucketConnStats) delete(bucket string) {
    	s.Lock()
    	defer s.Unlock()
    
    	delete(s.stats, bucket)
    }
    
    // HTTPAPIStats holds statistics information about
    // a given API in the requests.
    type HTTPAPIStats struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt

        super.atomicMove(source, target)
      }
    
      @Throws(IOException::class)
      override fun delete(
        path: Path,
        mustExist: Boolean,
      ) {
        if (deleteFaults.contains(path)) throw IOException("boom!")
        super.delete(path, mustExist)
      }
    
      @Throws(IOException::class)
      override fun deleteRecursively(
        fileOrDirectory: Path,
        mustExist: Boolean,
      ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. cmd/tier_gen.go

    				err = msgp.WrapError(err, "Tiers")
    				return
    			}
    			if z.Tiers == nil {
    				z.Tiers = make(map[string]madmin.TierConfig, zb0002)
    			} else if len(z.Tiers) > 0 {
    				for key := range z.Tiers {
    					delete(z.Tiers, key)
    				}
    			}
    			for zb0002 > 0 {
    				zb0002--
    				var za0001 string
    				var za0002 madmin.TierConfig
    				za0001, err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "Tiers")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    			return
    		case <-timer.C:
    			z.mpCache.Range(func(id string, info MultipartInfo) bool {
    				if time.Since(info.Initiated) >= globalAPIConfig.getStaleUploadsExpiry() {
    					z.mpCache.Delete(id)
    					// No need to notify to peers, each node will delete its own cache.
    				}
    				return true
    			})
    
    			// Reset for the next interval
    			timer.Reset(globalAPIConfig.getStaleUploadsCleanupInterval())
    		}
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/first-steps.md

    При создании API, "путь" является основным способом разделения "задач" и "ресурсов".
    
    #### Операция (operation)
    
    "Операция" это один из "методов" HTTP.
    
    Таких, как:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...и более экзотических:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    По протоколу HTTP можно обращаться к каждому пути, используя один (или несколько) из этих "методов".
    
    ---
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CurlHelper.java

        }
    
        /**
         * Creates a DELETE request for the specified path.
         * @param path the request path
         * @return the configured CurlRequest
         */
        public CurlRequest delete(final String path) {
            return request(Method.DELETE, path).header("Content-Type", "application/json");
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                }
            }
        }
    
        /**
         * Deletes an elevate word from the system.
         *
         * @param elevateWord the elevate word entity to delete
         */
        public void delete(final ElevateWord elevateWord) {
    
            elevateWordBhv.delete(elevateWord, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        // acts as an override in subclasses that implement SourceSinkFactory
        @SuppressWarnings("EffectivelyPrivate")
        public final void tearDown() throws IOException {
          if (!fileThreadLocal.get().delete()) {
            logger.warning("Unable to delete file: " + fileThreadLocal.get());
          }
          fileThreadLocal.remove();
        }
      }
    
      private static class FileByteSourceFactory extends FileFactory implements ByteSourceFactory {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. internal/lru/lru.go

    func (c *LRU[K, V]) Purge() {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	for k, v := range c.items {
    		if c.onEvict != nil {
    			c.onEvict(k, v.Value)
    		}
    		delete(c.items, k)
    	}
    	for _, b := range c.buckets {
    		for _, ent := range b.entries {
    			delete(b.entries, ent.Key)
    		}
    	}
    	c.evictList.Init()
    }
    
    // Add adds a value to the cache. Returns true if an eviction occurred.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

     * cannot do TLS over domain sockets.
     */
    public class ClientAndServer {
      public void run() throws Exception {
        File socketFile = new File("/tmp/ClientAndServer.sock");
        socketFile.delete(); // Clean up from previous runs.
    
        MockWebServer server = new MockWebServer();
        server.setServerSocketFactory(new UnixDomainServerSocketFactory(socketFile));
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
Back to top