Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 120 for simulation (0.07 seconds)

  1. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

            @Test
            @DisplayName("Should differentiate between caller available and actual free units")
            void shouldDifferentiateBetweenCallerAndActualFree() throws SMBProtocolDecodingException {
                // Given - simulating quota scenario
                ByteBuffer buffer = ByteBuffer.allocate(32);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(10000L); // Total units
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

        static RandomHasherAction pickAtRandom(Random random) {
          return actions[random.nextInt(actions.length)];
        }
      }
    
      /**
       * Test that the hash function contains no funnels. A funnel is a situation where a set of input
       * (key) bits 'affects' a strictly smaller set of output bits. Funneling is bad because it can
       * result in more-than-ideal collisions for a non-uniformly distributed key space. In practice,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                    continue;
                                }
    
                                // TODO might be better to have source.retrieve() throw a specific exception for this
                                // situation
                                // and catch here rather than have it return null
                                if (rGroup == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  4. cmd/erasure-healing_test.go

    		t.Fatalf("FileInfo not equal after healing: %v != %v", fi, nfi)
    	}
    
    	// Test 4: checks if HealObject returns an error when xl.meta is not found
    	// in more than read quorum number of disks, to create a corrupted situation.
    	for i := 0; i <= nfi.Erasure.DataBlocks; i++ {
    		erasureDisks[i].Delete(t.Context(), bucket, pathJoin(object, xlStorageFormatFile), DeleteOptions{
    			Recursive: false,
    			Immediate: false,
    		})
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 48.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableSet.java

          requireNonNull(impl);
          requireNonNull(other.impl);
          /*
           * For discussion of requireNonNull, see the comment on the field.
           *
           * (And I don't believe there's any situation in which we call x.combine(y) when x is a plain
           * ImmutableSet.Builder but y is an ImmutableSortedSet.Builder (or vice versa). Certainly
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  6. cmd/metacache-entries.go

    			if other == nil {
    				continue
    			}
    			if best == nil {
    				best = other
    				bestIdx = otherIdx
    				continue
    			}
    			if path.Clean(best.name) == path.Clean(other.name) {
    				// We may be in a situation where we have a directory and an object with the same name.
    				// In that case we will drop the directory entry.
    				// This should however not be confused with an object with a trailing slash.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
  7. cmd/erasure-object.go

    			metaArr[index].VersionID = versionID
    			if !metaArr[index].InlineData() {
    				// If the data is not inlined, we may end up incorrectly
    				// inlining the data here, that leads to an inconsistent
    				// situation where some objects are were not inlined
    				// were now inlined, make sure to `nil` the Data such
    				// that xl.meta is written as expected.
    				metaArr[index].Data = nil
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       * not present). When the collection delegate in the WrappedCollection is
       * empty, the multimap may contain subsequently added values for that key. To
       * handle that situation, the WrappedCollection checks whether map contains
       * an entry for the provided key, and if so replaces the delegate.
       */
    
      private transient Map<K, Collection<V>> map;
      private transient int totalSize;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                // Sign with first digest
                digest1.sign(data, 0, data.length, request, response);
    
                // Verify with second digest (simulating server verification)
                boolean isValid = digest2.verify(data, 0, data.length, 0, response);
    
                assertTrue(isValid, "Valid signature should verify correctly");
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       * not present). When the collection delegate in the WrappedCollection is
       * empty, the multimap may contain subsequently added values for that key. To
       * handle that situation, the WrappedCollection checks whether map contains
       * an entry for the provided key, and if so replaces the delegate.
       */
    
      private transient Map<K, Collection<V>> map;
      private transient int totalSize;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
Back to Top