Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 725 for balk (0.28 sec)

  1. cni/pkg/nodeagent/netns_linux.go

    		defer threadNS.Close()
    
    		// switch to target namespace
    		if err = NetnsSet(fdable); err != nil {
    			return err
    		}
    		defer func() {
    			err := threadNS.Set() // switch back
    			if err == nil {
    				// Unlock the current thread only when we successfully switched back
    				// to the original namespace; otherwise leave the thread locked which
    				// will force the runtime to scrap the current thread, that is maybe
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jan 31 10:05:36 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. cmd/storage-rest-server.go

    	}
    	volume := r.Form.Get(storageRESTVolume)
    	err := s.getStorage().MakeVol(r.Context(), volume)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    	}
    }
    
    // MakeVolBulkHandler - create multiple volumes as a bulk operation.
    func (s *storageRESTServer) MakeVolBulkHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		return
    	}
    	volumes := strings.Split(r.Form.Get(storageRESTVolumes), ",")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  3. docs_src/sql_databases/sql_app_py310/models.py

        items = relationship("Item", back_populates="owner")
    
    
    class Item(Base):
        __tablename__ = "items"
    
        id = Column(Integer, primary_key=True)
        title = Column(String, index=True)
        description = Column(String, index=True)
        owner_id = Column(Integer, ForeignKey("users.id"))
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 09 14:35:33 GMT 2024
    - 710 bytes
    - Viewed (0)
  4. src/archive/zip/writer_test.go

    	// write a zip file
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    
    	for _, wt := range writeTests {
    		testCreate(t, w, &wt)
    	}
    
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// read it back
    	r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
    	if err != nil {
    		t.Fatal(err)
    	}
    	for i, wt := range writeTests {
    		testReadFile(t, r.File[i], &wt)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                }
            }).execute()) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Bulk Response:\n{}", response.getContentAsString());
                }
                systemHelper.reloadConfiguration(resetJobs.get());
            } catch (final Exception e) {
                logger.warn("Failed to process bulk file: {}", fileName, e);
            } finally {
                deleteTempFile(tempFile);
            }
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/design/admin_design_edit.jsp

                                        <button type="submit" class="btn btn-default" name="back"
                                                value="<la:message key="labels.design_button_back" />">
                                            <em class="fa fa-arrow-circle-left">
                                            <la:message key="labels.design_button_back"/>
                                        </button>
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Wed Feb 12 20:25:27 GMT 2020
    - 3.7K bytes
    - Viewed (0)
  7. tests/prepared_stmt_test.go

    )
    
    func TestPreparedStmt(t *testing.T) {
    	tx := DB.Session(&gorm.Session{PrepareStmt: true})
    
    	if _, ok := tx.ConnPool.(*gorm.PreparedStmtDB); !ok {
    		t.Fatalf("should assign PreparedStatement Manager back to database when using PrepareStmt mode")
    	}
    
    	ctx, cancel := context.WithTimeout(context.Background(), 500*time.Millisecond)
    	defer cancel()
    	txCtx := tx.WithContext(ctx)
    
    	user := *GetUser("prepared_stmt", Config{})
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Mar 21 07:55:43 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. internal/bpool/bpool.go

    	}
    	return
    }
    
    // Put returns the given Buffer to the BytePool.
    func (bp *BytePoolCap) Put(b []byte) {
    	if bp == nil {
    		return
    	}
    	select {
    	case bp.c <- b:
    		// buffer went back into pool
    	default:
    		// buffer didn't go back into pool, just discard
    	}
    }
    
    // Width returns the width of the byte arrays in this pool.
    func (bp *BytePoolCap) Width() (n int) {
    	if bp == nil {
    		return 0
    	}
    	return bp.w
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

            | ((source[offset + 3] & 0xFF) << 24);
      }
    
      /**
       * Indicates that the loading of Unsafe was successful and the load and store operations will be
       * very efficient. May be useful for calling code to fall back on an alternative implementation
       * that is slower than Unsafe.get/store but faster than the pure-Java mask-and-shift.
       */
      static boolean usingUnsafe() {
        return (byteArray instanceof UnsafeByteArray);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  10. cmd/erasure-common.go

    			mu.Unlock()
    		}()
    	}
    	wg.Wait()
    	return newDisks
    }
    
    func (er erasureObjects) getOnlineLocalDisks() (newDisks []StorageAPI) {
    	disks := er.getOnlineDisks()
    
    	// Based on the random shuffling return back randomized disks.
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	for _, i := range r.Perm(len(disks)) {
    		if disks[i] != nil && disks[i].IsLocal() {
    			newDisks = append(newDisks, disks[i])
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top