Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 494 for safety (0.34 sec)

  1. cmd/sftp-server-driver.go

    	// This is not timing the actual read operation, but the time it takes to prepare the reader.
    	stopFn := globalSftpMetrics.log(r, f.AccessKey())
    	defer stopFn(0, err)
    
    	flags := r.Pflags()
    	if !flags.Read {
    		// sanity check
    		return nil, os.ErrInvalid
    	}
    
    	bucket, object := path2BucketObject(r.Filepath)
    	if bucket == "" {
    		return nil, errors.New("bucket name cannot be empty")
    	}
    
    	clnt, err := f.getMinIOClient()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertUnescaped(e, '~');
        assertUnescaped(e, ':');
        assertUnescaped(e, '@');
    
        // Don't use plus for spaces
        assertEscaping(e, "%20", ' ');
    
        assertEquals("safe%20with%20spaces", e.escape("safe with spaces"));
        assertEquals("******@****.***", e.escape("******@****.***"));
      }
    
      private UrlEscaperTesting() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        if (n == 0) {
          @SuppressWarnings("unchecked")
          RegularImmutableMap<K, V> empty = (RegularImmutableMap<K, V>) EMPTY;
          return empty;
        } else if (n == 1) {
          // requireNonNull is safe because the first `2*n` elements have been filled in.
          checkEntryNotNull(
              requireNonNull(alternatingKeysAndValues[0]), requireNonNull(alternatingKeysAndValues[1]));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        fakePool.runAll();
        assertEquals(2, totalCalls.get());
        // Queue is empty so no runner should be scheduled.
        assertFalse(fakePool.hasNext());
    
        // Check that execute can be safely repeated
        e.execute(intCounter);
        e.execute(intCounter);
        e.execute(intCounter);
        // No change yet.
        assertEquals(2, totalCalls.get());
        fakePool.runAll();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Suppliers.java

       * and returns that value on subsequent calls to {@code get()}. See: <a
       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
       * <p>The returned supplier is thread-safe. The delegate's {@code get()} method will be invoked at
       * most once unless the underlying {@code get()} throws an exception. The supplier's serialized
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      @Override
      int indexOf(@Nullable Object target) {
        if (!contains(target)) {
          return -1;
        }
        // The cast is safe because of the contains check—at least for any reasonable Comparable class.
        @SuppressWarnings("unchecked")
        // requireNonNull is safe because of the contains check.
        C c = (C) requireNonNull(target);
        return (int) domain.distance(first(), c);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

      // propagate to the input. Cancellation propagation is fundamentally racy so this is fine.
      //
      // Future versions of the JMM may revise safe construction semantics in such a way that we can
      // safely publish these objects and we won't need this whole discussion.
      // TODO(user,lukes): consider adding volatile to all these fields since in current known JVMs
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

              submittingTaskQueue.nextTask = task;
              // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer).
              submittingTaskQueue.nextExecutor = requireNonNull(delegate);
              delegate = null;
            } else {
              // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer).
              Executor localDelegate = requireNonNull(delegate);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. docs/resiliency/resiliency-tests.sh

    function test_resiliency_success_with_disks_offline() {
    	echo
    	echo -e "${GREEN}Running test_resiliency_success_with_disks_offline ...${NC}"
    	# There are 8 disks on each node with EC:4 and two erasure sets.
    	# We should be able to safely suspend one disk per set from each server.
    	docker exec resiliency-minio1-1 /bin/sh -c "mv /data1/.minio.sys /data1/.minio.bkp && touch /data1/.minio.sys"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            assertTrue(npe2.getMessage().contains("non-null"));
            verifyNoInteractions(mockDir);
        }
    
        /**
         * Sanity: implementing via an anonymous class works the same as a lambda.
         */
        @Test
        @DisplayName("anonymous class implementation behaves correctly")
        void anonymousClassImplementation() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top