Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 703 for wrappy (3.21 sec)

  1. guava/src/com/google/common/collect/Queues.java

       *
       * <p>Failure to follow this advice may result in non-deterministic behavior.
       *
       * <p>The returned queue will be serializable if the specified queue is serializable.
       *
       * @param queue the queue to be wrapped in a synchronized view
       * @return a synchronized view of the specified queue
       * @since 14.0
       */
      @J2ktIncompatible // Synchronized
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. cmd/post-policy_test.go

    	retStr := "{"
    	retStr = retStr + expirationStr + ","
    	retStr += conditionStr
    	retStr += "}"
    
    	return []byte(retStr)
    }
    
    // Wrapper
    func TestPostPolicyReservedBucketExploit(t *testing.T) {
    	ExecObjectLayerTestWithDirs(t, testPostPolicyReservedBucketExploit)
    }
    
    // testPostPolicyReservedBucketExploit is a test for the exploit fixed in PR
    // #16849
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            public long length() {
                return 0;
            }
    
            @Override
            public int getFileIndex() {
                return 0;
            }
        }
    
        @Test
        @DisplayName("Happy path: iterates and adapts entries without filter")
        void happyPath_noFilter_returnsAdaptedResources() throws Exception {
            // Arrange: two valid entries
            setupParentForUrlCreation();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            assertNotNull(auth, "Authenticator should remain usable after refresh");
        }
    
        @Test
        @DisplayName("handle: sets NameCallback and PasswordCallback on happy path")
        void testHandleSetsNameAndPasswordHappyPath() throws Exception {
            JAASAuthenticator auth = new JAASAuthenticator("DOM", "user", "pass");
            NameCallback nc = new NameCallback("user:");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                        list.add(n.getName());
                    }
                }
                return list.toArray(new String[list.size()]);
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        static SmbFile[] listFiles(final SmbFile root, final String wildcard, final int searchAttributes, final SmbFilenameFilter fnf,
                final SmbFileFilter ff) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportImplTest.java

            assertTrue(transport.isSigningEnforced());
        }
    
        @Test
        @DisplayName("unwrap returns this for compatible types and throws otherwise")
        void unwrapBehavior() {
            // Happy paths
            SmbTransport asIface = transport.unwrap(SmbTransport.class);
            assertSame(transport, asIface);
            SmbTransportInternal asInternal = transport.unwrap(SmbTransportInternal.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterables.java

       *
       * <p>Whether the input {@code iterable} is a {@link Queue} or not, the returned {@code Iterable}
       * is not thread-safe.
       *
       * @param iterable the iterable to wrap
       * @return a view of the supplied iterable that wraps each generated iterator through {@link
       *     Iterators#consumingIterator(Iterator)}; for queues, an iterable that generates iterators
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  8. cmd/storage-rest-client.go

    }
    
    // Retrieve location indexes.
    func (client *storageRESTClient) GetDiskLoc() (poolIdx, setIdx, diskIdx int) {
    	return client.endpoint.PoolIdx, client.endpoint.SetIdx, client.endpoint.DiskIdx
    }
    
    // Wrapper to restClient.CallWithMethod to handle network errors, in case of network error the connection is disconnected
    // and a healthcheck routine gets invoked that would reconnect.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. cmd/net.go

    	localIP4 = mustGetLocalIP4()
    
    	// IPv6 addresses of localhost.
    	localIP6 = mustGetLocalIP6()
    
    	// List of all local loopback addresses.
    	localLoopbacks = mustGetLocalLoopbacks()
    )
    
    // mustSplitHostPort is a wrapper to net.SplitHostPort() where error is assumed to be a fatal.
    func mustSplitHostPort(hostPort string) (host, port string) {
    	xh, err := xnet.ParseHost(hostPort)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (1)
  10. cmd/erasure-metadata-utils_test.go

    		{
    			[]error{
    				errFileNotFound, errFileNotFound, errFileNotFound,
    				errFileNotFound, errFileNotFound, nil, nil, nil, nil, nil,
    			},
    			nil, nil,
    		},
    		// Checks if wrapped context cancellation errors are grouped as one.
    		{canceledErrs, nil, context.Canceled},
    	}
    	// Validates list of all the testcases for returning valid errors.
    	for i, testCase := range testCases {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top