Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1661 - 1670 of 1,808 for try (0.01 sec)

  1. android/guava/src/com/google/common/io/Files.java

            throw new FileNotFoundException(file.toString());
          }
          return file.length();
        }
    
        @Override
        public byte[] read() throws IOException {
          Closer closer = Closer.create();
          try {
            FileInputStream in = closer.register(openStream());
            return ByteStreams.toByteArray(in, in.getChannel().size());
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            when(ctx.getConfig()).thenReturn(config);
            when(ctx.getCredentials()).thenReturn(creds);
            when(ctx.getNameServiceClient()).thenReturn(nsc);
        }
    
        private static URL smbUrl(String spec) {
            try {
                return new URL(null, spec, SMB_HANDLER);
            } catch (Exception e) {
                throw new AssertionError(e);
            }
        }
    
        private SmbResourceLocatorImpl locator(String spec) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

            throw new FileNotFoundException(file.toString());
          }
          return file.length();
        }
    
        @Override
        public byte[] read() throws IOException {
          Closer closer = Closer.create();
          try {
            FileInputStream in = closer.register(openStream());
            return ByteStreams.toByteArray(in, in.getChannel().size());
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

        class SMBUtilIntegrationTests {
    
            @Test
            @DisplayName("Should use SMBUtil.writeInt2 for referral level")
            void testSMBUtilWriteInt2ForReferralLevel() {
                try (MockedStatic<SMBUtil> mockedSMBUtil = mockStatic(SMBUtil.class)) {
                    String path = "\\\\server";
                    int maxReferralLevel = 3;
                    buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            final boolean[] success = new boolean[THREAD_COUNT];
    
            for (int i = 0; i < THREAD_COUNT; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    try {
                        byte[] buffer = new byte[512];
                        trans2QueryFSInfo.writeSetupWireFormat(buffer, 0);
                        trans2QueryFSInfo.writeParametersWireFormat(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            final boolean[] success = new boolean[THREAD_COUNT];
    
            for (int i = 0; i < THREAD_COUNT; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    try {
                        byte[] buffer = new byte[512];
                        trans2SetFileInfo.writeSetupWireFormat(buffer, 0);
                        trans2SetFileInfo.writeParametersWireFormat(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. helm-releases/minio-3.0.0.tgz

    else echo "Bucket '$BUCKET' versioning unchanged." fi # At this point, the bucket should exist, skip checking for existence # Set policy on the bucket echo "Setting policy of bucket '$BUCKET' to '$POLICY'." ${MC} policy set $POLICY myminio/$BUCKET } # Try connecting to Minio instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.buckets }} # Create the buckets {{- range .Values.buckets }} createBucket {{ .name }} {{ .policy }} {{ .purge...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 02 01:47:43 UTC 2021
    - 13.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

              if (other.isConnected(range) && !other.intersection(range).isEmpty()) {
                overlaps = true;
                anyOverlaps = true;
                break;
              }
            }
    
            try {
              ImmutableRangeSet<Integer> unused = builder.add(range).build();
              assertFalse(overlaps);
              mutable.add(range);
            } catch (IllegalArgumentException e) {
              assertTrue(overlaps);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

         *
         * @param configId the configuration ID to retrieve
         * @return the CrawlingConfig object or null if not found or on error
         */
        public CrawlingConfig getCrawlingConfig(final String configId) {
            try {
                return crawlingConfigCache.get(configId, () -> {
                    final ConfigType configType = getConfigType(configId);
                    if (configType == null) {
                        return null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.5K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                assertThat(network.hasEdgeConnecting(node, otherNode)).isTrue();
                break;
              default:
                assertThat(network.hasEdgeConnecting(node, otherNode)).isTrue();
                try {
                  network.edgeConnectingOrNull(node, otherNode);
                  fail();
                } catch (IllegalArgumentException expected) {
                }
            }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
Back to top