- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 1,431 for contexts (0.2 sec)
-
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/ContextAwarePlatform.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.platform import android.content.Context interface ContextAwarePlatform { var applicationContext: Context?
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Dec 31 14:50:53 UTC 2024 - 737 bytes - Viewed (0) -
docs/extensions/s3zip/examples/minio-go/main.go
package main import ( "context" "io" "log" "os" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) func main() { s3Client, err := minio.New("minio-server-address:9000", &minio.Options{ Creds: credentials.NewStaticV4("access-key", "secret-key", ""), }) if err != nil { log.Fatalln(err) } var opts minio.GetObjectOptions // Add extract header to request:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jun 14 18:04:14 UTC 2021 - 694 bytes - Viewed (0) -
cmd/config-current_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "os" "testing" "github.com/minio/minio/internal/config" ) func TestServerConfig(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() objLayer, fsDir, err := prepareFS(ctx) if err != nil { t.Fatal(err) } defer os.RemoveAll(fsDir)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 1.9K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/bug_report.md
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Aug 17 22:53:30 UTC 2020 - 782 bytes - Viewed (0) -
src/main/java/jcifs/netbios/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" } * ); * return name;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
cmd/batch-expire.go
return nil } // Notify notifies notification endpoint if configured regarding job failure or success. func (r BatchJobExpire) Notify(ctx context.Context, body io.Reader) error { if r.NotificationCfg.Endpoint == "" { return nil } ctx, cancel := context.WithTimeout(ctx, 10*time.Second) defer cancel() req, err := http.NewRequestWithContext(ctx, http.MethodPost, r.NotificationCfg.Endpoint, body)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Apr 22 11:16:32 UTC 2025 - 23K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsFilterNavigableSetTest.java
@NullUnmarked public final class SetsFilterNavigableSetTest extends AbstractFilteredNavigableSetTest { @Override NavigableSet<Integer> createUnfiltered(Iterable<Integer> contents) { return Sets.newTreeSet(contents); } @Override NavigableSet<Integer> filter( NavigableSet<Integer> elements, Predicate<? super Integer> predicate) { return Sets.filter(elements, predicate); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.2K bytes - Viewed (0) -
tests/transaction_test.go
user2 = *GetUser("transaction-nested-2", Config{}) ) if err := transaction(context.Background(), DB, func(ctx context.Context, tx *gorm.DB) error { tx.Create(&user) if err := tx.First(&User{}, "name = ?", user.Name).Error; err != nil { t.Fatalf("Should find saved record") } if err := transaction(ctx, tx, func(ctx context.Context, tx1 *gorm.DB) error { tx1.Create(&user1)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java
* @param sessionKey * @param label * @param context */ private static byte[] derive(final byte[] sessionKey, final byte[] label, final byte[] context) { final KDFCounterBytesGenerator gen = new KDFCounterBytesGenerator(new HMac(new SHA256Digest())); final int r = 32; final byte[] suffix = new byte[label.length + context.length + 5]; // per bouncycastle
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
import jcifs.SmbConstants; import jcifs.SmbPipeHandle; import jcifs.SmbPipeResource; import jcifs.context.SingletonContext; import jcifs.internal.smb1.com.SmbComNTCreateAndX; import jcifs.internal.smb1.com.SmbComNTCreateAndXResponse; @ExtendWith(MockitoExtension.class) class SmbNamedPipeTest { // Creates a minimal valid CIFS context that does not perform I/O by itself private CIFSContext ctx() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0)