Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 557 for SECOND (0.05 sec)

  1. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            target.close();
            verify(fileHandle, times(1)).close();
            verify(fileHandle, never()).release();
            verify(tree, atLeastOnce()).release();
    
            // Re-prepare state for second branch: not open but handle set
            when(fileHandle.isValid()).thenReturn(false);
            // Need to reopen logic to set handle again
            // Reset open flag by reconstructing target
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. tests/helper_test.go

    	Company   bool
    	Manager   bool
    	Team      int
    	Languages int
    	Friends   int
    	NamedPet  bool
    	Tools     int
    }
    
    func GetUser(name string, config Config) *User {
    	var (
    		birthday = time.Now().Round(time.Second)
    		user     = User{
    			Name:     name,
    			Age:      18,
    			Birthday: &birthday,
    		}
    	)
    
    	if config.Account {
    		user.Account = Account{Number: name + "_account"}
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. docs/lambda/README.md

    	// Generate presigned GET url with lambda function
    	presignedURL, err := s3Client.PresignedGetObject(context.Background(), "functionbucket", "testobject", time.Duration(1000)*time.Second, reqParams)
    	if err != nil {
    		log.Fatalln(err)
    	}
    	fmt.Println(presignedURL)
    }
    ```
    
    Use the Presigned URL via `curl` to receive the transformed object.
    ```
    curl -v $(go run presigned.go)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental_test.cc

                        /*input_shapes*/ {make_shape({3, 2}), make_shape({2, 4})},
                        /*input_tensors*/ {},
                        /*expected_shape*/ make_shape({3, 4}));
    
      // Infer shape when second operand has unknown shape.
      CheckOutputShapes(matmul_op,
                        /*input_shapes*/ {make_shape({3, 2}), unknown_shape()},
                        /*input_tensors*/ {},
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            infoField.setAccessible(true);
            infoField.set(response, mockDecodable);
    
            Decodable first = response.getInfo();
            Decodable second = response.getInfo();
    
            assertSame(first, second, "Multiple calls should return the same instance");
        }
    
        @Test
        @DisplayName("Test getInfo with null info returns null")
        void testGetInfoWithNullInfo() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    		if err := p.loadResync(ctx, buckets, objAPI); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := max(time.Duration(r.Float64()*float64(time.Minute)),
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			time.Second)
    		time.Sleep(duration)
    	}
    }
    
    // Loads bucket replication resync statuses into memory.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/FileEntryTest.java

                when(mockEntry.getName()).thenReturn(null, "", " ");
    
                // Act & Assert
                assertNull(mockEntry.getName(), "first call returns null");
                assertEquals("", mockEntry.getName(), "second call returns empty");
                assertEquals(" ", mockEntry.getName(), "third call returns space");
    
                verify(mockEntry, times(3)).getName();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                assertEquals(100L, SMBUtil.readInt8(buffer, 0));
                assertEquals(200L, SMBUtil.readInt8(buffer, 8));
                assertEquals(1, SMBUtil.readInt4(buffer, 16));
    
                // Verify second lock
                assertEquals(300L, SMBUtil.readInt8(buffer, 24));
                assertEquals(400L, SMBUtil.readInt8(buffer, 32));
                assertEquals(2, SMBUtil.readInt4(buffer, 40));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                this.channelId = channelId;
                this.failureTime = System.currentTimeMillis();
                this.retryCount = 0;
                this.nextRetryTime = failureTime + 1000; // Initial 1 second delay
            }
    
            /**
             * Get channel ID
             *
             * @return channel identifier
             */
            public String getChannelId() {
                return channelId;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom.go

    						}
    						return
    					}
    					if configRetriableErrors(err) {
    						decomLogIf(ctx, fmt.Errorf("Unable to resume decommission of pools %v: %w: retrying..", pools, err))
    						time.Sleep(time.Second + time.Duration(r.Float64()*float64(5*time.Second)))
    						continue
    					}
    					decomLogIf(ctx, fmt.Errorf("Unable to resume decommission of pool %v: %w", pools, err))
    					return
    				}
    			}
    		}()
    	}
    
    	return nil
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
Back to top