Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,808 for Try (0.01 sec)

  1. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        verifyOccupiedMethodsInAnotherThread(monitor, false, false, 0);
        monitor.enter();
        try {
          verifyOccupiedMethodsInCurrentThread(monitor, true, true, 1);
          verifyOccupiedMethodsInAnotherThread(monitor, true, false, 0);
          monitor.enter();
          try {
            verifyOccupiedMethodsInCurrentThread(monitor, true, true, 2);
            verifyOccupiedMethodsInAnotherThread(monitor, true, false, 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

        val key = key(request.url)
        val snapshot: DiskLruCache.Snapshot =
          try {
            cache[key] ?: return null
          } catch (_: IOException) {
            return null // Give up because the cache cannot be read.
          }
    
        val entry: Entry =
          try {
            Entry(snapshot.getSource(ENTRY_METADATA))
          } catch (_: IOException) {
            snapshot.closeQuietly()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      static <V extends @Nullable Object, X extends Exception> V getChecked(
          GetCheckedTypeValidator validator, Future<V> future, Class<X> exceptionClass) throws X {
        validator.validateClass(exceptionClass);
        try {
          return future.get();
        } catch (InterruptedException e) {
          currentThread().interrupt();
          throw newWithCause(exceptionClass, e);
        } catch (ExecutionException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

        public static String getDomainByName(String name) throws UnknownHostException {
            DirContext context;
            UnknownHostException uhe = null;
    
            try {
                context = new InitialDirContext();
                for ( ;; ) {
                    try {
                        Attributes attributes = context.getAttributes(
                            "dns:/_ldap._tcp.dc._msdcs." + name,
                            new String[] { "SRV" }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                AtomicInteger successCount = new AtomicInteger(0);
                AtomicInteger failureCount = new AtomicInteger(0);
    
                // Submit tasks that try to sign data
                for (int i = 0; i < 5; i++) {
                    executor.submit(() -> {
                        try {
                            startLatch.await();
                            byte[] data = new byte[128];
                            // Initialize with proper SMB2 header
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

         * @return JSON response with deletion status
         */
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            try {
                elevateWordService.getElevateWord(id).ifPresent(entity -> {
                    try {
                        elevateWordService.delete(entity);
                        suggestHelper.deleteElevateWord(entity.getSuggestWord(), false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                throw new SmbException(unc + " UNC must end with '\\'");
            }
    
            final SmbTreeHandleImpl th = getTreeHandle();
            this.response = new Trans2FindFirst2Response(th.getConfig());
    
            try {
                th.send(new Trans2FindFirst2(th.getConfig(), unc, this.getWildcard(), this.getSearchAttributes(), th.getConfig().getListCount(),
                        th.getConfig().getListSize() - FIND_OVERHEAD), this.response);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/SingletonContext.java

                throw new CIFSException("Singleton context is already initialized");
            }
            final Properties p = new Properties();
            try {
                final String filename = System.getProperty("jcifs.properties");
                if (filename != null && filename.length() > 1) {
    
                    try (FileInputStream in = new FileInputStream(filename)) {
                        p.load(in);
                    }
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            try {
                SuggestCreator.Options options = new SuggestCreator.Options();
    
                // Setup minimal mock components
                setupMockComponents();
    
                Method processMethod = SuggestCreator.class.getDeclaredMethod("process", SuggestCreator.Options.class);
                processMethod.setAccessible(true);
    
                try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. docs/debugging/inspect/utils.go

    func bytesToPrivateKey(priv []byte) (*rsa.PrivateKey, error) {
    	// Try PEM
    	if block, _ := pem.Decode(priv); block != nil {
    		return x509.ParsePKCS1PrivateKey(block.Bytes)
    	}
    	// Try base 64
    	dst := make([]byte, base64.StdEncoding.DecodedLen(len(priv)))
    	if n, err := base64.StdEncoding.Decode(dst, priv); err == nil {
    		return x509.ParsePKCS1PrivateKey(dst[:n])
    	}
    	// Try Raw, return error
    	return x509.ParsePKCS1PrivateKey(priv)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Nov 02 20:36:38 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top