Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for forceJdk (0.05 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        ImmutableSet.Builder<String> builder = ImmutableSet.builder();
                        builder.forceJdk();
                        builder.add(elements);
                        return builder.build();
                      }
                    })
                .named(ImmutableSetTest.class.getName() + ", with JDK builder")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

            impl = EmptySetBuilderImpl.instance();
          }
        }
    
        Builder(@SuppressWarnings("unused") boolean subclass) {
          this.impl = null; // unused
        }
    
        @VisibleForTesting
        void forceJdk() {
          requireNonNull(impl); // see the comment on the field
          this.impl = new JdkBackedSetBuilderImpl<>(impl);
        }
    
        final void copyIfNecessary() {
          if (forceCopy) {
            copy();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         * Share flag indicating that exclusive opens are restricted on this share.
         */
        public static final int SMB2_SHAREFLAG_RESTRICT_EXCLUSIVE_OPENS = 0x100;
        /**
         * Share flag indicating that shared delete is forced for this share.
         */
        public static final int SMB2_SHAREFLAG_FORCE_SHARED_DELETE = 0x200;
        /**
         * Share flag indicating that namespace caching is allowed on this share.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java

     *
     * @since 4.0.0
     */
    @Experimental
    public interface EncryptOptions extends Options {
        /**
         * Should the operation be forced (ie overwrite existing config, if any).
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> force();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTransportPoolTest.java

                assertEquals(transport, result);
                verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, true, false);
            }
    
            @Test
            @DisplayName("Should get transport by name with forced signing")
            void testGetSmbTransportByNameForceSigning() throws UnknownHostException, IOException {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java

        }
    
        @Test
        void acceptPropagatesException() {
            SmbFile dir = Mockito.mock(SmbFile.class);
            SmbFilenameFilter filter = (d, n) -> {
                throw new SmbException("forced exception");
            };
            Exception e = assertThrows(Exception.class, () -> filter.accept(dir, "any"));
            assertTrue(e instanceof SmbException);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            // Arrange - mock cause to verify no interactions are needed to construct
            Throwable cause = Mockito.mock(Throwable.class);
            String message = "forced downgrade detected";
    
            // Act
            SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(message, cause);
    
            // Assert - fields preserved
            assertSame(cause, ex.getCause());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       * return type is plain FilenameFilter. If we made such a change, then the annotation we choose
       * here would have no significance to end users, who would be forced to conform to the signature
       * used in FilenameFilter.)
       */
      @Override
      public boolean accept(File dir, String fileName) {
        return pattern.matcher(fileName).matches();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (1)
  9. cmd/object-multipart-handlers.go

    		sha256hex = ""
    	}
    
    	var forceMD5 []byte
    	// Optimization: If SSE-KMS and SSE-C did not request Content-Md5. Use uuid as etag. Optionally enable this also
    	// for server that is started with `--no-compat`.
    	if !etag.ContentMD5Requested(r.Header) && (crypto.S3KMS.IsEncrypted(mi.UserDefined) || crypto.SSEC.IsRequested(r.Header) || !globalServerCtxt.StrictS3Compat) {
    		forceMD5 = mustGetUUIDBytes()
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/SmbNegotiationResponse.java

        /**
         * Checks whether a connection can be reused for the given configuration.
         *
         * @param tc the CIFS context to check compatibility with
         * @param forceSigning whether signing is being forced
         * @return whether a connection can be reused for this config
         */
        boolean canReuse(CIFSContext tc, boolean forceSigning);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top