Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1691 - 1700 of 2,061 for mirror (0.06 seconds)

  1. guava/src/com/google/common/util/concurrent/AbstractService.java

          // timed out. e.g. if we weren't event able to grab the lock within the timeout we would never
          // even check the guard. I don't think we care too much about this use case but it could lead
          // to a confusing error message.
          throw new TimeoutException("Timed out waiting for " + this + " to reach the RUNNING state.");
        }
      }
    
      @Override
      public final void awaitTerminated() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  2. README.md

    - **Exception Handling** (`org.codelibs.core.exception`) - Runtime exception wrappers for common checked exceptions with consistent error handling
    
    ### Modern Java 21 Support
    - **Pattern Matching** - Leverages modern Java pattern matching for efficient type checking and conversion
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                byte[] buffer = new byte[100];
                when(mockFileSystemInfo.decode(any(byte[].class), anyInt(), anyInt()))
                        .thenThrow(new SMBProtocolDecodingException("Test error"));
    
                assertThrows(SMBProtocolDecodingException.class, () -> {
                    mockFileSystemInfo.decode(buffer, 0, 100);
                });
            }
        }
    
        @Nested
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  4. cmd/format-erasure_test.go

    		t.Fatal("Unexpected success")
    	}
    }
    
    // Get backend Erasure format in quorum `format.json`.
    func getFormatErasureInQuorumOld(formats []*formatErasureV3) (*formatErasureV3, error) {
    	formatHashes := make([]string, len(formats))
    	for i, format := range formats {
    		if format == nil {
    			continue
    		}
    		h := sha256.New()
    		for _, set := range format.Erasure.Sets {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  5. docs/bucket/versioning/README.md

          System.out.println("Bucket versioning is enabled successfully");
    
        } catch (MinioException e) {
          System.out.println("Error occurred: " + e);
        }
      }
    }
    ```
    
    ### isVersioningEnabled() API
    
    ```
    public class IsVersioningEnabled {
      /** MinioClient.isVersioningEnabled() example. */
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                    snapshot.setBuildNumber(buildNumber + 1);
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactDeploymentException(
                            "Error retrieving previous build number for artifact '" + artifact.getDependencyConflictId()
                                    + "': " + e.getMessage(),
                            e);
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. internal/bucket/lifecycle/evaluator.go

    				newerNoncurrentVersions++
    			}
    		}
    		events[i] = event
    	}
    	return events
    }
    
    // Eval will return a lifecycle event for each object in objs
    func (e *Evaluator) Eval(objs []ObjectOpts) ([]Event, error) {
    	if len(objs) == 0 {
    		return nil, nil
    	}
    	if len(objs) != objs[0].NumVersions {
    		return nil, fmt.Errorf("number of versions mismatch, expected %d, got %d", objs[0].NumVersions, len(objs))
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 08 15:41:24 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

                }
            }
        }
    
        /**
         * Closes the underlying CrawlerClient and releases any resources associated with it.
         *
         * @throws Exception if an error occurs during the close operation
         */
        @Override
        public void close() throws Exception {
            client.close();
        }
    
        /**
         * Returns the underlying CrawlerClient.
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

        "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
      ) {
        return true
      }
    
      return false
    }
    
    @Deprecated(
      message = "No longer supported",
      level = DeprecationLevel.ERROR,
      replaceWith = ReplaceWith(expression = "response.promisesBody()"),
    )
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. docs/zh/docs/advanced/security/http-basic-auth.md

    {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *}
    
    这类似于:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Return some error
        ...
    ```
    
    但使用 `secrets.compare_digest()`,可以防御**时差攻击**,更加安全。
    
    ### 时差攻击
    
    什么是**时差攻击**?
    
    假设攻击者试图猜出用户名与密码。
    
    他们发送用户名为 `johndoe`,密码为 `love123`  的请求。
    
    然后,Python 代码执行如下操作:
    
    ```Python
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 4.2K bytes
    - Click Count (0)
Back to Top