Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 410 for vspace (0.09 seconds)

  1. guava-tests/test/com/google/common/net/MediaTypeTest.java

                    .withParameter("something-else", "crazy with spaces")
                    .withParameter("and-another-thing", "")
                    .withParameter("normal-thing", "foo")
                    .toString())
            .isEqualTo(
                "text/plain; something=\"cr@zy\"; something-else=\"crazy with spaces\";"
                    + " and-another-thing=\"\"; normal-thing=foo");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/RegularImmutableMap.java

      /**
       * Closed addressing tends to perform well even with high load factors. Being conservative here
       * ensures that the table is still likely to be relatively sparse (hence it misses fast) while
       * saving space.
       */
      @VisibleForTesting static final double MAX_LOAD_FACTOR = 1.2;
    
      /**
       * Maximum allowed false positive probability of detecting a hash flooding attack given random
       * input.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  3. cmd/object-api-utils.go

    		if disk == nil {
    			continue
    		}
    		if di, err := disk.DiskInfo(ctx, opts); err == nil {
    			res[i] = &di
    		}
    	}
    	return res
    }
    
    // hasSpaceFor returns whether the disks in `di` have space for and object of a given size.
    func hasSpaceFor(di []*DiskInfo, size int64) (bool, error) {
    	// We multiply the size by 2 to account for erasure coding.
    	size *= 2
    	if size < 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        // evict 9, 1, 2, 10
        getAll(cache, asList(15));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(0, 6, 7, 8, 15);
    
        // fill empty space
        getAll(cache, asList(9));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(0, 6, 7, 8, 15, 9);
    
        // evict 6
        getAll(cache, asList(1));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        if (elements instanceof ImmutableCollection) {
          /*
           * TODO: When given an ImmutableList that's a sublist, copy the referenced
           * portion of the array into a new array to save space?
           */
          @SuppressWarnings("unchecked") // all supported methods are covariant
          ImmutableCollection<E> list = (ImmutableCollection<E>) elements;
          return list.asList();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            long expectedCapacity = alloc * sectPerAlloc * bytesPerSect;
            assertEquals(expectedCapacity, smbInfoAllocation.getCapacity());
    
            // Verify free space calculation: free * sectPerAlloc * bytesPerSect
            long expectedFree = free * sectPerAlloc * bytesPerSect;
            assertEquals(expectedFree, smbInfoAllocation.getFree());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Test forward slashes
            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "//server/share"));
    
            // Test with spaces
            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\my share\\file.txt"));
    
            // Test with special characters
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11K bytes
    - Click Count (0)
  8. cmd/storage-rest-server.go

    		c.done = nil
    	}
    	return c.rc.Close()
    }
    
    // keepHTTPReqResponseAlive can be used to avoid timeouts with long storage
    // operations, such as bitrot verification or data usage scanning.
    // Every 10 seconds a space character is sent.
    // keepHTTPReqResponseAlive will wait for the returned body to be read before starting the ticker.
    // The returned function should always be called to release resources.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.put("\\\\server\\\\share".getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            bb.position(60); // Properly spaced
            bb.put("\\\\alt\\\\path".getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            bb.position(90); // Properly spaced
            bb.put("NODE01".getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  10. cmd/generic-handlers.go

    			i++
    		}
    
    		// Trim whitespace of segment
    		segmentStart, segmentEnd := start, i
    		for segmentStart < segmentEnd && unicode.IsSpace(rune(path[segmentStart])) {
    			segmentStart++
    		}
    		for segmentEnd > segmentStart && unicode.IsSpace(rune(path[segmentEnd-1])) {
    			segmentEnd--
    		}
    
    		// Check for ".." or "."
    		switch {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.7K bytes
    - Click Count (1)
Back to Top