Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 4,785 for New (0.03 sec)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Striped64.java

      /** Generator of new random hash codes */
      static final Random rng = new Random();
    
      /** Number of CPUS, to place bound on table size */
      static final int NCPU = Runtime.getRuntime().availableProcessors();
    
      /** Table of cells. When non-null, size is a power of 2. */
      @CheckForNull transient volatile Cell[] cells;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

      }
    
      public void testBuilderPutAll() {
        Map<String, Integer> toPut = new LinkedHashMap<>();
        toPut.put("one", 1);
        toPut.put("two", 2);
        toPut.put("three", 3);
        Map<String, Integer> moreToPut = new LinkedHashMap<>();
        moreToPut.put("four", 4);
        moreToPut.put("five", 5);
    
        ImmutableBiMap<String, Integer> map =
            new Builder<String, Integer>().putAll(toPut).putAll(moreToPut).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                    }
                    catch ( GeneralSecurityException e ) {
                        throw new RuntimeCIFSException("Failed to encrypt password", e);
                    }
                    this.passwordLength = this.password.length;
                }
                else if ( this.ctx.getConfig().isDisablePlainTextPasswords() ) {
                    throw new RuntimeCIFSException("Plain text passwords are disabled");
                }
                else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  5. internal/auth/credentials_test.go

    		}
    	}
    }
    
    func TestGetNewCredentials(t *testing.T) {
    	cred, err := GetNewCredentials()
    	if err != nil {
    		t.Fatalf("Failed to get a new credential")
    	}
    	if !cred.IsValid() {
    		t.Fatalf("Failed to get new valid credential")
    	}
    	if len(cred.AccessKey) != accessKeyMaxLen {
    		t.Fatalf("access key length: expected: %v, got: %v", secretKeyMaxLen, len(cred.AccessKey))
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                    return new String[] { values[0], StringUtil.EMPTY };
                }
            }
            throw new CrawlingAccessException("Invalid path: " + path);
        }
    
        protected ResponseData getResponseData(final String uri, final boolean includeContent) {
            final ResponseData responseData = new ResponseData();
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/cbean/ca/bs/BsUserCA.java

            UserCQ cq = new UserCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                UserCA ca = new UserCA();
                aggsLambda.callback(ca);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 212.4K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

        public static final File USER_MAVEN_CONFIGURATION_HOME = new File(USER_HOME, ".m2");
    
        public static final File DEFAULT_USER_SETTINGS_FILE = new File(USER_MAVEN_CONFIGURATION_HOME, "settings.xml");
    
        public static final File DEFAULT_PROJECT_SETTINGS_FILE = new File(".mvn", "settings.xml");
    
        public static final File DEFAULT_INSTALLATION_SETTINGS_FILE =
                new File(System.getProperty("maven.conf"), "settings.xml");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

      @SuppressWarnings("JUnitIncompatibleType")
      public void testBuilder_withMutableEntry() {
        ImmutableMultimap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/Name.java

            StringBuffer sb = new StringBuffer();
            String n = this.name;
    
            // fix MSBROWSE name
            if ( n == null ) {
                n = "null";
            }
            else if ( n.charAt(0) == 0x01 ) {
                char c[] = n.toCharArray();
                c[ 0 ] = '.';
                c[ 1 ] = '.';
                c[ 14 ] = '.';
                n = new String(c);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
Back to top