Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 3,790 for news (0.09 sec)

  1. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                    }
                    return new Pair<>(groupList.stream().distinct().toArray(n1 -> new String[n1]),
                            roleList.stream().distinct().toArray(n2 -> new String[n2]));
                });
            } catch (final ExecutionException e) {
                logger.warn("Failed to process a group cache.", e);
                return new Pair<>(StringUtil.EMPTY_STRINGS, StringUtil.EMPTY_STRINGS);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
        assertExpectedString(writer.toString());
      }
    
      public void testCopyTo_appendable() throws IOException {
        StringBuilder builder = new StringBuilder();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                    try {
                        tempFile = File.createTempFile("ftp-", ".tmp");
                        try (OutputStream out = new BufferedOutputStream(new FileOutputStream(tempFile))) {
                            if (!client.retrieveFile(ftpInfo.getName(), out)) {
                                throw new CrawlingAccessException("Failed to retrieve: " + ftpInfo.toUrl());
                            }
                        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

          super(
              new UnhashableObject(1),
              new UnhashableObject(2),
              new UnhashableObject(3),
              new UnhashableObject(4),
              new UnhashableObject(5));
        }
      }
    
      public static class Colliders extends SampleElements<Object> {
        public Colliders() {
          super(new Collider(1), new Collider(2), new Collider(3), new Collider(4), new Collider(5));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

        return new UncheckedThrowingFuture<V>();
      }
    
      public void complete(RuntimeException e) {
        if (!super.setException(new WrapperException(checkNotNull(e)))) {
          throw new IllegalStateException("Future was already complete: " + this);
        }
      }
    
      public void complete(Error e) {
        if (!super.setException(new WrapperException(checkNotNull(e)))) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 12 20:02:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            final Vector<String> vector = new Vector<String>();
            vector.add("a");
            final EnumerationIterator<String> itr = new EnumerationIterator<String>(vector.elements());
            itr.remove();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testNext() throws Exception {
            final EnumerationIterator<String> itr = new EnumerationIterator<String>(new Vector<String>().elements());
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java

                model = new MavenXpp3Reader().read(is);
            }
    
            // Serialize an inner child here so that the BaseObject.childrenTracking is non null
            Build build = model.getBuild();
    
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            try (ObjectOutputStream oos = new ObjectOutputStream(baos)) {
                oos.writeObject(build);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top